mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
5c9c28b3a0
commit
54bbfe811e
1 changed files with 2 additions and 8 deletions
|
@ -326,18 +326,12 @@ class Tempfile < DelegateClass(File)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# :call-seq:
|
# :stopdoc:
|
||||||
# mkdir(string, [integer]) -> 0
|
|
||||||
#
|
|
||||||
# Synonym for Dir.mkdir.
|
|
||||||
def mkdir(*args)
|
def mkdir(*args)
|
||||||
Dir.mkdir(*args)
|
Dir.mkdir(*args)
|
||||||
end
|
end
|
||||||
|
|
||||||
# :call-seq:
|
|
||||||
# rmdir(string) -> 0
|
|
||||||
#
|
|
||||||
# Synonym for Dir.rmdir.
|
|
||||||
def rmdir(*args)
|
def rmdir(*args)
|
||||||
Dir.rmdir(*args)
|
Dir.rmdir(*args)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue