1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/tempfile.rb (Tempfile#open): should return a value from the

block (if given).   [ruby-core:18394]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-09-22 09:01:22 +00:00
parent 260c0e6a2f
commit 2c6e46896a
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Sep 22 17:39:25 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* 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@ruby-lang.org>
* include/ruby/encoding.h (enum): ISO C forbids comma at end of

View file

@ -187,8 +187,6 @@ class Tempfile < DelegateClass(File)
ensure
tempfile.close
end
nil
else
tempfile
end