From: Tanaka Akira Date: 2013-04-20T23:46:40+09:00 Subject: [ruby-core:54481] Re: [ruby-trunk - Feature #5707][Open] temporary file creation without finalizer and delegate. 2011/12/5 KOSAKI Motohiro : > I'm incline with Eric and I prefer to don't add Non-block form. It's > no recommended > programming style and shouldn't be encouraged. There is a usecase. For example, lib/webrick/httpauth/htpasswd.rb rename a file created by Tempfile.new. It has a minor problem that the finalizer invokes unlink() for the file not exist (because the file is already renamed). It is difficult to fix this problem without non-block form. -- Tanaka Akira