Class: Watobo::Crawler::PageBag

Inherits:
Object
  • Object
show all
Defined in:
plugins/crawler/lib/bags.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(page, depth) ⇒ PageBag

Returns a new instance of PageBag.



27
28
29
30
# File 'plugins/crawler/lib/bags.rb', line 27

def initialize(page, depth)
  @page = page
  @depth = depth
end

Instance Attribute Details

#pageObject (readonly)

Returns the value of attribute page.



26
27
28
# File 'plugins/crawler/lib/bags.rb', line 26

def page
  @page
end