From: Hal Fulton Date: 2006-07-30T16:09:17+09:00 Subject: Re: How to Create a New File Skeets wrote: > i know why my initial attempt was mucked up... > > f = File.open( 'new_file.txt', 'w' ) > > i tried to assign it to a variable - that's a no no in this case. Um, no... that's not a nono. :) What did this do for you? Of course, properly you'd use File.new in that case, and if you use File.open you'd use a block... Hal