123456789_123456789_123456789_123456789_123456789_

Class: ActiveSupport::Callbacks::CallbackChain::DefaultTerminator

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: activesupport/lib/active_support/callbacks.rb

Instance Method Summary

Instance Method Details

#call(target, result_lambda)

[ GitHub ]

  
# File 'activesupport/lib/active_support/callbacks.rb', line 665

def call(target, result_lambda)
  terminate = true
  catch(:abort) do
    result_lambda.call
    terminate = false
  end
  terminate
end