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:
parent
260c0e6a2f
commit
2c6e46896a
2 changed files with 5 additions and 2 deletions
|
@ -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>
|
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
|
* include/ruby/encoding.h (enum): ISO C forbids comma at end of
|
||||||
|
|
|
@ -187,8 +187,6 @@ class Tempfile < DelegateClass(File)
|
||||||
ensure
|
ensure
|
||||||
tempfile.close
|
tempfile.close
|
||||||
end
|
end
|
||||||
|
|
||||||
nil
|
|
||||||
else
|
else
|
||||||
tempfile
|
tempfile
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue