From 80a319d347b04e7cbbc8833768ca58c40dbdc8ae Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 23 Dec 2002 14:48:14 +0000 Subject: 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 --- lib/tempfile.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/tempfile.rb') diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 8c2eb16ef6..e68452fe6a 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 -- cgit v1.2.3