class method self.new

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

self.new(name, config)

No documentation comment.

Parameters

name req
config req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close