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
- .new(user_callback, user_conditions) ⇒ Around constructor
Instance Method Summary
Constructor Details
.new(user_callback, user_conditions) ⇒ Around
# 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