aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-10-31 11:47:51 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-10-31 11:47:51 -0700
commit4d4ff531b8807ee88a3fc46875c7e76f613956fb (patch)
tree69ad1741462a5f9582a8b111a5cd7182a710f80c /activesupport
parentf7e0758714e645865361b5566253d3e7d896beff (diff)
downloadrails-4d4ff531b8807ee88a3fc46875c7e76f613956fb.tar.gz
rails-4d4ff531b8807ee88a3fc46875c7e76f613956fb.tar.bz2
rails-4d4ff531b8807ee88a3fc46875c7e76f613956fb.zip
clean up some warnings on trunk ruby
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/file_update_checker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/file_update_checker.rb b/activesupport/lib/active_support/file_update_checker.rb
index d6918bede2..78b627c286 100644
--- a/activesupport/lib/active_support/file_update_checker.rb
+++ b/activesupport/lib/active_support/file_update_checker.rb
@@ -92,7 +92,7 @@ module ActiveSupport
def watched
@watched || begin
- all = @files.select { |f| File.exists?(f) }
+ all = @files.select { |f| File.exist?(f) }
all.concat(Dir[@glob]) if @glob
all
end