Module: Wombat::Crawler::ClassMethods
- Defined in:
- lib/wombat/crawler.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
43
44
45
|
# File 'lib/wombat/crawler.rb', line 43
def method_missing(method, *args, &block)
metadata.send method, *args, &block
end
|
Instance Method Details
#follow_links(selector) ⇒ Object
51
52
53
|
# File 'lib/wombat/crawler.rb', line 51
def follow_links(selector)
end
|
#for_each(selector, &block) ⇒ Object
47
48
49
|
# File 'lib/wombat/crawler.rb', line 47
def for_each(selector, &block)
metadata.for_each(selector).instance_eval(&block) if block
end
|
#to_ary ⇒ Object
55
56
|
# File 'lib/wombat/crawler.rb', line 55
def to_ary
end
|