aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r--lib/tempfile.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 66d206a938..2bd124abea 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -287,8 +287,8 @@ class Tempfile < DelegateClass(File)
# ensure
# f.close
# end
- def open(*args)
- tempfile = new(*args)
+ def open(*args, **kw)
+ tempfile = new(*args, **kw)
if block_given?
begin