Method: ActiveSupport::ExecutionWrapper.to_run

Defined in:
activesupport/lib/active_support/execution_wrapper.rb

.to_run(*args, &block) ⇒ Object



17
18
19
# File 'activesupport/lib/active_support/execution_wrapper.rb', line 17

def self.to_run(*args, &block)
  set_callback(:run, *args, &block)
end