mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/tempfile.rb: Document Dir.mkdir and Dir.rmdir. Patch by Clinton
Nixon. [Ruby 1.9 - Bug #4728] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d6581678cb
commit
ebce1b4bd6
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu May 19 06:02:21 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/tempfile.rb: Document Dir.mkdir and Dir.rmdir. Patch by Clinton
|
||||
Nixon. [Ruby 1.9 - Bug #4728]
|
||||
|
||||
Thu May 19 05:57:52 2011 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* encoding.c: Improve documentation for Encoding#default_external and
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue