method
execute_if_updated
v3.0.9 -
Show latest stable
- Class:
ActiveSupport::FileUpdateChecker
execute_if_updated()public
No documentation available.
# File activesupport/lib/active_support/file_update_checker.rb, line 28
def execute_if_updated
current_update_at = self.updated_at
if @last_update_at != current_update_at
@last_update_at = current_update_at
@block.call
end
end