diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-22 09:01:22 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-22 09:01:22 +0000 |
commit | 26b7d5a6b039df520b7f7514d1ddbaeb4b82641d (patch) | |
tree | 07183561ebb86e97ae8a3da409ed9c33b7cc4e75 /lib | |
parent | fd922458241c49e9000133a9279f6f5f2f7af853 (diff) | |
download | ruby-26b7d5a6b039df520b7f7514d1ddbaeb4b82641d.tar.gz ruby-26b7d5a6b039df520b7f7514d1ddbaeb4b82641d.tar.xz ruby-26b7d5a6b039df520b7f7514d1ddbaeb4b82641d.zip |
* lib/tempfile.rb (Tempfile#open): should return a value from the
block (if given). [ruby-core:18394]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tempfile.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 5eb294e39..7765026b4 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -187,8 +187,6 @@ class Tempfile < DelegateClass(File) ensure tempfile.close end - - nil else tempfile end |