summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-18 21:02:36 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-18 21:02:36 +0000
commitebce1b4bd61c39030d93c01e7d080b8500be17ff (patch)
tree8430a253a045f5460b5bd5426239182e8a7bb697
parentd6581678cbeab9441cac49e5df41a1e0439df525 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--lib/tempfile.rb9
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cd2078e8fc1..b4a3dd2b448 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 8bdf086b337..fbbf576b36e 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -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