method
new
v4.0.2 -
Show latest stable
- Class:
ActiveSupport::Callbacks::Callback
new(chain, filter, kind, options, klass)public
No documentation available.
# File activesupport/lib/active_support/callbacks.rb, line 96
def initialize(chain, filter, kind, options, klass)
@chain, @kind, @klass = chain, kind, klass
deprecate_per_key_option(options)
normalize_options!(options)
@raw_filter, @options = filter, options
@filter = _compile_filter(filter)
recompile_options!
end