Method: Spider.main_process_shutdown
- Defined in:
- lib/spiderfw/spider.rb
.main_process_shutdown ⇒ void
This method returns an undefined value.
Called when the main process is shut down. See also main_process_startup.
404 405 406 407 408 409 410 411 |
# File 'lib/spiderfw/spider.rb', line 404 def main_process_shutdown if startup_done? shutdown! end if @main_process_shutdown_blocks @main_process_shutdown_blocks.each{ |b| b.call } end end |