diff options
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r-- | lib/tempfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 828e1cf8f3..65b4bc69ac 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -144,7 +144,7 @@ class Tempfile < DelegateClass(File) class << self def callback(data) # :nodoc: pid = $$ - lambda{ + Proc.new { if pid == $$ path, tmpfile, cleanlist = *data |