Module: Mongoid::Equality::ClassMethods
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Extended In:
| |
Defined in: | lib/mongoid/equality.rb |
Instance Method Summary
-
#===(other) ⇒ true | false
Performs class equality checking.
Instance Method Details
#===(other) ⇒ true
| false
Performs class equality checking.
# File 'lib/mongoid/equality.rb', line 59
def ===(other) other.is_a?(self) end