From c19466fd405130b0352f247df3e67387813c15aa 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: http://svn.ruby-lang.org/repos/ruby/trunk@3199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/tempfile.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit