summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-16 04:30:18 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-16 04:30:18 +0000
commitb79183e0553e1b3f162d04d7b7e5cf7f147e7983 (patch)
tree2e3d76b5db57ba00ad617d4a0eaea3114bb2b075 /lib
parent5d9430495cafdadd15ca6560e4df22836fbd7c21 (diff)
downloadruby-b79183e0553e1b3f162d04d7b7e5cf7f147e7983.tar.gz
ruby-b79183e0553e1b3f162d04d7b7e5cf7f147e7983.tar.xz
ruby-b79183e0553e1b3f162d04d7b7e5cf7f147e7983.zip
update Dir.mktmpdir document.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/tmpdir.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index ada9ed554..5cf2c4744 100644
--- a/lib/tmpdir.rb
+++ b/lib/tmpdir.rb
@@ -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|