class method
self.new
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v3.0.20Signature
self.new(kind, method, options = {})
No documentation comment.
Parameters
-
kindreq -
methodreq -
optionsopt = {}
Source
# File activesupport/lib/active_support/callbacks.rb, line 133
def initialize(kind, method, options = {})
@kind = kind
@method = method
@identifier = options[:identifier]
@options = options
end
Defined in activesupport/lib/active_support/callbacks.rb line 133
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Callbacks::Callback