diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-05 14:44:05 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-04-05 14:49:03 -0300 |
commit | b621ded8130a98c6089a6be9bdeec5865b51fe38 (patch) | |
tree | adf828d6c0c9ff069cec98502c08b8f3f323721b /activesupport/lib | |
parent | b1e55041ebb33a27121eff4424eeeaee4e4b5028 (diff) | |
download | rails-b621ded8130a98c6089a6be9bdeec5865b51fe38.tar.gz rails-b621ded8130a98c6089a6be9bdeec5865b51fe38.tar.bz2 rails-b621ded8130a98c6089a6be9bdeec5865b51fe38.zip |
Initialize variables in file update checker to avoid warnings
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/file_update_checker.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/file_update_checker.rb b/activesupport/lib/active_support/file_update_checker.rb index c99da22cd6..8860636168 100644 --- a/activesupport/lib/active_support/file_update_checker.rb +++ b/activesupport/lib/active_support/file_update_checker.rb @@ -54,6 +54,9 @@ module ActiveSupport @glob = compile_glob(dirs) @block = block + @watched = nil + @updated_at = nil + @last_watched = watched @last_update_at = updated_at(@last_watched) end |