summaryrefslogtreecommitdiff
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r--lib/tempfile.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 5eb294e390..7765026b47 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -187,8 +187,6 @@ class Tempfile < DelegateClass(File)
ensure
tempfile.close
end
-
- nil
else
tempfile
end