123456789_123456789_123456789_123456789_123456789_

Class: ActiveSupport::Callbacks::Filters::Around

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

Class Method Summary

Instance Method Summary

Constructor Details

.new(user_callback, user_conditions) ⇒ Around

[ GitHub ]

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

def initialize(user_callback, user_conditions)
  @user_callback, @user_conditions = user_callback, user_conditions
  freeze
end

Instance Method Details

#apply(callback_sequence)

[ GitHub ]

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

def apply(callback_sequence)
  callback_sequence.around(@user_callback, @user_conditions)
end