Module: Mongoid::Equality::ClassMethods
- Defined in:
- lib/mongoid/equality.rb
Instance Method Summary collapse
-
#===(other) ⇒ true | false
Performs class equality checking.
Instance Method Details
#===(other) ⇒ true | false
Performs class equality checking.
59 60 61 |
# File 'lib/mongoid/equality.rb', line 59 def ===(other) other.is_a?(self) end |