diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-15 03:41:13 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-15 03:41:13 +0000 |
commit | 2d6dad4f4f9cca79764289d6b1e61392dccc7e89 (patch) | |
tree | 705f58ad43d65406801bb1fd37bd6cea28b12640 /lib/tmpdir.rb | |
parent | 7d62299a27ae90b904293caba02d0fad40341f4a (diff) | |
download | bundler-2d6dad4f4f9cca79764289d6b1e61392dccc7e89.tar.gz |
* 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/tmpdir.rb')
-rw-r--r-- | lib/tmpdir.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |