summaryrefslogtreecommitdiff
path: root/lib/tmpdir.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-15 15:57:06 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-15 15:57:06 +0000
commite25feba67b3563bce86f430340e8e1b5827bc465 (patch)
tree3ee312c307f400d469c7d56cd6a427729f09dfa9 /lib/tmpdir.rb
parent188909e220734423f652a4e90cecb8a6b1f3df29 (diff)
* signal.c (Init_signal): revert C++ style comment.
[ruby-dev:28041] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tmpdir.rb')
-rw-r--r--lib/tmpdir.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index bee99c4..3042ed5 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