Class: Watobo::Crawler::PageBag
- Inherits:
-
Object
- Object
- Watobo::Crawler::PageBag
- Defined in:
- plugins/crawler/lib/bags.rb
Instance Attribute Summary collapse
-
#page ⇒ Object
readonly
Returns the value of attribute page.
Instance Method Summary collapse
-
#initialize(page, depth) ⇒ PageBag
constructor
A new instance of PageBag.
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
#page ⇒ Object (readonly)
Returns the value of attribute page.
26 27 28 |
# File 'plugins/crawler/lib/bags.rb', line 26 def page @page end |