Skip to content

Commit

Permalink
Rename an argument name to avoid a potential clash.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
knu committed Dec 23, 2002
1 parent ec827b7 commit 80a319d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tempfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def _close # :nodoc:
#
# 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
Expand Down

0 comments on commit 80a319d

Please sign in to comment.