summaryrefslogtreecommitdiff
path: root/lib/tempfile.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-24 21:22:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-24 21:22:00 +0000
commit54bbfe811e70eb7a8536db7d4ab8482b04142cda (patch)
treec06a4e63bed0f34c3388351fb34d99f5eec6a8bc /lib/tempfile.rb
parent5c9c28b3a0efa1cc533df46ceafabc70ea37c3c4 (diff)
* lib/tempfile.rb (Tempfile.{mkdir,rmdir}): internal methods to be overridden in subclasses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r--lib/tempfile.rb10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index bf41195..7191cdd 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -326,18 +326,12 @@ class Tempfile < DelegateClass(File)
end
end
- # :call-seq:
- # mkdir(string, [integer]) -> 0
- #
- # Synonym for Dir.mkdir.
+ # :stopdoc:
+
def mkdir(*args)
Dir.mkdir(*args)
end
- # :call-seq:
- # rmdir(string) -> 0
- #
- # Synonym for Dir.rmdir.
def rmdir(*args)
Dir.rmdir(*args)
end