diff options
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 |