Sebastian Hungerecker ha scritto: > Lucas L. wrote: > >> Andrea Fazzi wrote: >> >>> File.open('file.txt', 'w') { |file| file = nil } >>> > > The "file = nil" part is completely unneccessary. You can just do > File.open('file.txt', 'w') {} > > Ok, thank you :-) Andrea