class method self.build

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

self.build(kind, *methods, &block)

No documentation comment.

Parameters

kind req
methods rest
block block
Source
# File activesupport/lib/active_support/callbacks.rb, line 80
      def self.build(kind, *methods, &block)
        methods, options = extract_options(*methods, &block)
        methods.map! { |method| Callback.new(kind, method, options) }
        new(methods)
      end

Defined in activesupport/lib/active_support/callbacks.rb line 80 · 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