Class: Watobo::Crawler::LinkBag
- Inherits:
-
Object
- Object
- Watobo::Crawler::LinkBag
- Defined in:
- plugins/crawler/lib/bags.rb
Instance Attribute Summary collapse
-
#link ⇒ Object
readonly
Returns the value of attribute link.
Instance Method Summary collapse
-
#initialize(link, depth) ⇒ LinkBag
constructor
A new instance of LinkBag.
Constructor Details
#initialize(link, depth) ⇒ LinkBag
Returns a new instance of LinkBag.
35 36 37 38 |
# File 'plugins/crawler/lib/bags.rb', line 35 def initialize(link, depth) @link = link @depth = depth end |
Instance Attribute Details
#link ⇒ Object (readonly)
Returns the value of attribute link.
34 35 36 |
# File 'plugins/crawler/lib/bags.rb', line 34 def link @link end |