diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 09:49:57 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 09:49:57 +0100 |
commit | 816126862e040b787cf11c8143f326798803f67c (patch) | |
tree | b0db65713968230ece18f6959f173bc9fcff70d8 /activesupport | |
parent | 1adcebdb582f1cd091c5472d864e7c97b99333d0 (diff) | |
download | rails-816126862e040b787cf11c8143f326798803f67c.tar.gz rails-816126862e040b787cf11c8143f326798803f67c.tar.bz2 rails-816126862e040b787cf11c8143f326798803f67c.zip |
Warnings removed for ruby trunk
Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/file/atomic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/file/atomic.rb b/activesupport/lib/active_support/core_ext/file/atomic.rb index c3e6124a57..0e7e3ba378 100644 --- a/activesupport/lib/active_support/core_ext/file/atomic.rb +++ b/activesupport/lib/active_support/core_ext/file/atomic.rb @@ -23,7 +23,7 @@ class File yield temp_file temp_file.close - if File.exists?(file_name) + if File.exist?(file_name) # Get original file permissions old_stat = stat(file_name) else |