diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 04:51:13 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-20 04:51:13 +0000 |
commit | 264d879c202be0d5552001d4fa305b48a99927f3 (patch) | |
tree | c960baa33210d8a008cb217595aee188d416038a | |
parent | 6f07df121006daeb3347426a35df432d6927f6bb (diff) | |
download | ruby-264d879c202be0d5552001d4fa305b48a99927f3.tar.gz ruby-264d879c202be0d5552001d4fa305b48a99927f3.tar.xz ruby-264d879c202be0d5552001d4fa305b48a99927f3.zip |
Fix a fatal typo. (pointed out by Jim Freeze)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | lib/tempfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 289fea324..8c2eb16ef 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -86,7 +86,7 @@ class Tempfile < SimpleDelegator # If you don't explicitly unlink the temporary file, the removal # will be delayed until the object is finalized. def close(unlink=false) - if real + if unlink close! else _close |