diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-15 15:57:06 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-15 15:57:06 +0000 |
| commit | 03ceba78855a5f3c32171d34960f59239d51d75a (patch) | |
| tree | 3ee312c307f400d469c7d56cd6a427729f09dfa9 /lib/tmpdir.rb | |
| parent | d29994bf17444e6a8e5d6b75e51597ef13099c1b (diff) | |
| download | ruby-03ceba78855a5f3c32171d34960f59239d51d75a.tar.gz ruby-03ceba78855a5f3c32171d34960f59239d51d75a.tar.xz ruby-03ceba78855a5f3c32171d34960f59239d51d75a.zip | |
* signal.c (Init_signal): revert C++ style comment.
[ruby-dev:28041]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9695 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 bee99c41c..3042ed520 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 |
