1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2005-12-15 03:41:13 +00:00
parent 7d62299a27
commit 2d6dad4f4f
4 changed files with 10 additions and 1 deletions

View file

@ -24,6 +24,9 @@ class Dir
rescue LoadError
end
##
# Returns the operating system's temporary file path.
def Dir::tmpdir
tmp = '.'
if $SAFE > 0