diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-23 14:48:14 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-23 14:48:14 +0000 |
commit | c19466fd405130b0352f247df3e67387813c15aa (patch) | |
tree | b1faef27239a2c4d557a9d275d918d3075288061 /lib | |
parent | 033059e734b040a35aad859ab6cbf1ce0f1c34c5 (diff) | |
download | ruby-c19466fd405130b0352f247df3e67387813c15aa.tar.gz ruby-c19466fd405130b0352f247df3e67387813c15aa.tar.xz ruby-c19466fd405130b0352f247df3e67387813c15aa.zip |
Rename an argument name to avoid a potential clash.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tempfile.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 8c2eb16ef..e68452fe6 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -85,8 +85,8 @@ 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 unlink + def close(unlink_now=false) + if unlink_now close! else _close |