At 2009-07-08 05:52AM, "Andy P." wrote:
>  Hello !
>  
>  I'm trying to get a web page width open-uri width this code :
>  
>  require 'open-uri'
>  open("http://www.google.com") {|src|
>    open("test.htm","wb") {|dst|

You're looking for the class method in File:

     File.open("test.htm","wb") {|dst|

>        dst.write(src.read)
>    }
>  }


-- 
Glenn Jackman
    Write a wise saying and your name will live forever. -- Anonymous