From: "Lucas L." Date: 2008-05-11T21:14:30+09:00 Subject: Re: Erasing text from a file Andrea Fazzi wrote: > File.open('file.txt', 'w') { |file| file = nil } That reopens the file. Is there a way to do it without reopening? -- Posted via http://www.ruby-forum.com/.