From: Robert Klemme Date: 2006-01-10T17:33:01+09:00 Subject: Re: IO vs. File Donkey Agony wrote: > Also, there doesn't appear a similarly simple File.write that does all > the dirty work for you. The most concise I've come up with is: > > File.open("test.html", "wb") { |f| f.write(str) } > > Am I missing something? No. I think this is on purpose because writing is more dangerous than reading. :-) robert