Method: Eff::Downloader#initialize

Defined in:
lib/eff/downloader.rb

#initialize(url, file) ⇒ Downloader

Returns a new instance of Downloader.



7
8
9
10
# File 'lib/eff/downloader.rb', line 7

def initialize(url, file)
  self.uri  = URI(url)
  self.file = file
end