summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-15 03:41:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-15 03:41:13 +0000
commit2d6dad4f4f9cca79764289d6b1e61392dccc7e89 (patch)
tree705f58ad43d65406801bb1fd37bd6cea28b12640 /lib
parent7d62299a27ae90b904293caba02d0fad40341f4a (diff)
* lib/tmpdir.rb: merged RDoc patch from Eric Hodel <drbrain at
segment7.net>. [ruby-core:06894] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/.document1
-rw-r--r--lib/tmpdir.rb3
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/.document b/lib/.document
index 14bb46deec..3978aa9347 100644
--- a/lib/.document
+++ b/lib/.document
@@ -39,5 +39,6 @@ thread.rb
thwait.rb
time.rb
timeout.rb
+tmpdir.rb
uri
yaml.rb
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index bee99c41cb..3042ed5202 100644
--- a/lib/tmpdir.rb
+++ b/lib/tmpdir.rb
@@ -24,6 +24,9 @@ class Dir
rescue LoadError
end
+ ##
+ # Returns the operating system's temporary file path.
+
def Dir::tmpdir
tmp = '.'
if $SAFE > 0