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/.