Method: Tootsie::Input#initialize
- Defined in:
- lib/tootsie/input.rb
#initialize(url) ⇒ Input
Returns a new instance of Input.
11 12 13 14 15 16 17 |
# File 'lib/tootsie/input.rb', line 11 def initialize(url) @url = url @temp_file = Tempfile.new('tootsie') @temp_file.close @file_name = @temp_file.path @logger = Application.get.logger end |