instance method call

Ruby on Rails 4.1.16

Since v4.1.16 Last seen in v4.2.9

Available in: v4.1.16 v4.2.9

Signature

call(*args)

No documentation comment.

Parameters

args rest
Source
# File activesupport/lib/active_support/callbacks.rb, line 500
      def call(*args)
        @before.each { |b| b.call(*args) }
        value = @call.call(*args)
        @after.each { |a| a.call(*args) }
        value
      end

Defined in activesupport/lib/active_support/callbacks.rb line 500 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Callbacks::CallbackSequence

Type at least 2 characters to search.

↑↓ navigate · open · esc close