Method: WWW::Mechanize#get_file

Defined in:
lib/www/mechanize.rb

#get_file(url) ⇒ Object

Fetch a file and return the contents of the file.



279
280
281
# File 'lib/www/mechanize.rb', line 279

def get_file(url)
  get(url).body
end