summaryrefslogtreecommitdiff
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-23 14:48:14 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-23 14:48:14 +0000
commit80a319d347b04e7cbbc8833768ca58c40dbdc8ae (patch)
treeb1faef27239a2c4d557a9d275d918d3075288061 /lib/tempfile.rb
parentec827b7112082bcdc13ade092376630b0a1b499d (diff)
Rename an argument name to avoid a potential clash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r--lib/tempfile.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 8c2eb16..e68452f 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