From 478e984e939cc79c7d23910ceda1482cbb0cbf14 Mon Sep 17 00:00:00 2001 From: akr Date: Thu, 16 Aug 2007 04:30:18 +0000 Subject: [PATCH] update Dir.mktmpdir document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/tmpdir.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index ada9ed5544..5cf2c47448 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|