aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/file
diff options
context:
space:
mode:
authorArun Agrawal <arunagw@gmail.com>2013-11-01 09:49:57 +0100
committerArun Agrawal <arunagw@gmail.com>2013-11-01 09:49:57 +0100
commit816126862e040b787cf11c8143f326798803f67c (patch)
treeb0db65713968230ece18f6959f173bc9fcff70d8 /activesupport/lib/active_support/core_ext/file
parent1adcebdb582f1cd091c5472d864e7c97b99333d0 (diff)
downloadrails-816126862e040b787cf11c8143f326798803f67c.tar.gz
rails-816126862e040b787cf11c8143f326798803f67c.tar.bz2
rails-816126862e040b787cf11c8143f326798803f67c.zip
Warnings removed for ruby trunk
Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
Diffstat (limited to 'activesupport/lib/active_support/core_ext/file')
-rw-r--r--activesupport/lib/active_support/core_ext/file/atomic.rb2
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