ruby-changes:7932
From: matz <ko1@a...>
Date: Mon, 22 Sep 2008 18:01:43 +0900 (JST)
Subject: [ruby-changes:7932] Ruby:r19454 (trunk): * lib/tempfile.rb (Tempfile#open): should return a value from the
matz 2008-09-22 18:01:22 +0900 (Mon, 22 Sep 2008) New Revision: 19454 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19454 Log: * lib/tempfile.rb (Tempfile#open): should return a value from the block (if given). [ruby-core:18394] Modified files: trunk/ChangeLog trunk/lib/tempfile.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 19453) +++ ChangeLog (revision 19454) @@ -1,3 +1,8 @@ +Mon Sep 22 17:39:25 2008 Yukihiro Matsumoto <matz@r...> + + * lib/tempfile.rb (Tempfile#open): should return a value from the + block (if given). [ruby-core:18394] + Mon Sep 22 11:17:51 2008 URABE Shyouhei <shyouhei@r...> * include/ruby/encoding.h (enum): ISO C forbids comma at end of Index: lib/tempfile.rb =================================================================== --- lib/tempfile.rb (revision 19453) +++ lib/tempfile.rb (revision 19454) @@ -187,8 +187,6 @@ ensure tempfile.close end - - nil else tempfile end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/