Using Rio From Ruby To Easily Save A Web Page To File
Join the DZone community and get the full member experience.Join For Free
Found at http://www.juretta.com/log/2006/08/13/ruby_net_http_and_open-uri/
# (sudo) gem install rio require 'rubygems' require 'rio' # open an URI an copy the content into a file rio('http://www.juretta.com/') > rio('juretta_index.html')Cool syntax!
Opinions expressed by DZone contributors are their own.