execute_if_updated()
Execute the block given if updated.
# File activesupport/lib/active_support/file_update_checker.rb, line 92 def execute_if_updated if updated? yield if block_given? execute true else false end end