Method: ActiveSupport::FileUpdateChecker#execute
- Defined in:
- activesupport/lib/active_support/file_update_checker.rb
#execute ⇒ Object
Executes the given block and updates the latest watched files and timestamp.
80 81 82 83 84 85 86 87 |
# File 'activesupport/lib/active_support/file_update_checker.rb', line 80 def execute @last_watched = watched @last_update_at = updated_at(@last_watched) @block.call ensure @watched = nil @updated_at = nil end |