class method
self.new
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
self.new(name, config)
No documentation comment.
Parameters
-
namereq -
configreq
Source
# File activesupport/lib/active_support/callbacks.rb, line 342
def initialize(name, config)
@name = name
@config = {
:terminator => "false",
:rescuable => false,
:scope => [ :kind ]
}.merge(config)
end
Defined in activesupport/lib/active_support/callbacks.rb line 342
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Callbacks::CallbackChain