зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
ec827b7112
Коммит
80a319d347
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче