Path: | lib/mechanize/directory_saver.rb |
Last Update: | Tue Sep 25 16:34:49 +0000 2012 |
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'