aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tmpdir.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tmpdir.rb')
-rw-r--r--lib/tmpdir.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index 05e74eb523..d7a8f799fe 100644
--- a/lib/tmpdir.rb
+++ b/lib/tmpdir.rb
@@ -82,9 +82,9 @@ class Dir
# FileUtils.remove_entry dir
# end
#
- def self.mktmpdir(prefix_suffix=nil, *rest)
+ def self.mktmpdir(prefix_suffix=nil, *rest, **options)
base = nil
- path = Tmpname.create(prefix_suffix || "d", *rest) {|path, _, _, d|
+ path = Tmpname.create(prefix_suffix || "d", *rest, **options) {|path, _, _, d|
base = d
mkdir(path, 0700)
}