instance method
==
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
==(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activesupport/lib/active_support/callbacks.rb, line 140
def ==(other)
case other
when Callback
(self.identifier && self.identifier == other.identifier) || self.method == other.method
else
(self.identifier && self.identifier == other) || self.method == other
end
end
Defined in activesupport/lib/active_support/callbacks.rb line 140
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Callbacks::Callback