Method: ActiveSupport::ExecutionWrapper::CompleteHook#hook

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

#hookObject

Returns the value of attribute hook

Returns:

  • (Object)

    the current value of hook



32
33
34
# File 'activesupport/lib/active_support/execution_wrapper.rb', line 32

def hook
  @hook
end