Flowdock
method

execute_if_updated

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActiveSupport::FileUpdateChecker
execute_if_updated() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.