jimweirich wrote:

> requre 'open-uri'
> open("output_filename.jpg", "w") { |outfile|
>   outfile.write open("http://image_url.jpg") { |inf|
>     ifile.read
>   }
> }
Oops ... naming problem with inf and ifile ... both should be infile.

Sorry
-- Jim Weirich


-- 
Posted via http://www.ruby-forum.com/.