1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Initialize variables in file update checker to avoid warnings

This commit is contained in:
Carlos Antonio da Silva 2012-04-05 14:44:05 -03:00
parent b1e55041eb
commit b621ded813

View file

@ -54,6 +54,9 @@ module ActiveSupport
@glob = compile_glob(dirs) @glob = compile_glob(dirs)
@block = block @block = block
@watched = nil
@updated_at = nil
@last_watched = watched @last_watched = watched
@last_update_at = updated_at(@last_watched) @last_update_at = updated_at(@last_watched)
end end