From: "RadosÅ‚aw BuÅ‚at" Date: 2008-05-30T01:57:32+09:00 Subject: Re: File.open auto-close No, file won't be closed (you didn't pass block) and you can't do it because you don't have reference to file (lost when chaining). But there is class method File.read so you can: the_text = File.read("somefile.txt") :-) -- Rados³aw Bu³at http://radarek.jogger.pl - mój blog