Class: Watobo::Crawler::LinkBag

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Returns the value of attribute link.



34
35
36
# File 'plugins/crawler/lib/bags.rb', line 34

def link
  @link
end