directory_saver.rb

Path: lib/mechanize/directory_saver.rb
Last Update: Wed May 15 19:29:55 +0000 2013

Unlike Mechanize::FileSaver, the directory saver places all downloaded files in a single pre-specified directory.

You must register the directory to save to before using the directory saver:

  agent.pluggable_parser['image'] =  #     Mechanize::DirectorySaver.save_to 'images'

[Validate]