mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update Dir.mktmpdir document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
02c581be74
commit
478e984e93
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ class Dir
|
|||
#
|
||||
# If a block is given,
|
||||
# it is yielded with the path of the directory.
|
||||
# The directory is removed before Dir.mktmpdir returns.
|
||||
# The directory and its contents are removed
|
||||
# using FileUtils.remove_entry_secure before Dir.mktmpdir returns.
|
||||
# The value of the block is returned.
|
||||
#
|
||||
# Dir.mktmpdir {|dir|
|
||||
|
|
Loading…
Reference in a new issue