class Folder

for recursively parsing bookmarks

Attributes

json[R]
title[R]

Public Class Methods

new(title='|', json) click to toggle source
# File lib/bookmarks.rb, line 126
def initialize(title='|', json)
  @title = title.gsub(/[:,'"]/, '-').downcase
  @json = json
end

Public Instance Methods

each() click to toggle source

needed for Enumerable

# File lib/bookmarks.rb, line 132
def each() @json.each end