Method: SpiderInstance#teardown
- Defined in:
- lib/spider/spider_instance.rb
#teardown(p = nil, &block) ⇒ Object
Run last, once for each page. Given the URL as a string.
142 143 144 |
# File 'lib/spider/spider_instance.rb', line 142 def teardown(p = nil, &block) @teardown = p ? p : block end |