method
new
rails latest stable - Class:
ActiveSupport::Callbacks::Callback
new(name, filter, kind, options, chain_config)public
No documentation available.
# File activesupport/lib/active_support/callbacks.rb, line 298
def initialize(name, filter, kind, options, chain_config)
@chain_config = chain_config
@name = name
@kind = kind
@filter = filter
@if = check_conditionals(options[:if])
@unless = check_conditionals(options[:unless])
end