From: Gregory Brown Date: 2008-08-27T22:21:56+09:00 Subject: [ruby-core:18401] [Bug #504] Tempfile.open should return the new tempfile rather than nil Issue #504 has been updated by Gregory Brown. As far as I can tell, this is not a bug, as it is documented. However, I would support a behavior change here. I can't think of very many uses of the block form in the current case, unless you want to do ugly workarounds. It would be quite nice if it returned a closed filehandle. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/504 ---------------------------------------- http://redmine.ruby-lang.org