Class: Downlow::Local
Instance Attribute Summary
Attributes inherited from Fetcher
#destination, #local_path, #options, #tmp_dir, #url
Instance Method Summary collapse
Methods inherited from Fetcher
fetch, #fetched?, fetcher_for, handles, #initialize
Constructor Details
This class inherits a constructor from Downlow::Fetcher
Instance Method Details
#fetch ⇒ Object
6 7 8 9 |
# File 'lib/downlow/fetchers/local.rb', line 6 def fetch url.cp destination @local_path = destination end |