Method: ActiveSupport::ExecutionWrapper::RunHook#hook

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

#hookObject

Returns the value of attribute hook

Returns:

  • (Object)

    the current value of hook



25
26
27
# File 'activesupport/lib/active_support/execution_wrapper.rb', line 25

def hook
  @hook
end