From: Thomas Adam Date: 2007-10-30T21:17:49+09:00 Subject: Re: Is there a better way to do this? (write something to a Hi -- On 30/10/2007, Chris Richards wrote: > This isn't a file copy. I'm just writing data to a file. > > This is equivalent : > > File.open("/file/location/new.txt","w") {|file| file << "data to write"} Oops. That's what I get for not drinking coffee before replying. :) -- Thomas Adam