summaryrefslogtreecommitdiff
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r--lib/tempfile.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 8bdf086b337..fbbf576b36e 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -326,9 +326,18 @@ class Tempfile < DelegateClass(File)
end
end
+ # :call-seq:
+ # mkdir(string, [integer]) -> 0
+ #
+ # Synonym for Dir.mkdir.
def mkdir(*args)
Dir.mkdir(*args)
end
+
+ # :call-seq:
+ # rmdir(string) -> 0
+ #
+ # Synonym for Dir.rmdir.
def rmdir(*args)
Dir.rmdir(*args)
end