Fix a fatal typo. (pointed out by Jim Freeze)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
02a8d06fa8
commit
b702ab5d6c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user