From e8c55d3e15151964cb3ab06494b0aadba97ab961 Mon Sep 17 00:00:00 2001 From: Clinton R. Nixon Date: Wed, 18 May 2011 00:15:15 -0400 Subject: [PATCH] Adding documentation for Tempfile --- lib/tempfile.rb | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 8bdf086..fbbf576 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 -- 1.7.5.1