Module: MongoMapper::Plugins::Equality::ClassMethods

Defined in:
lib/mongo_mapper/plugins/equality.rb

Instance Method Summary collapse

Instance Method Details

#===(other) ⇒ Object



8
9
10
# File 'lib/mongo_mapper/plugins/equality.rb', line 8

def ===(other)
  other.is_a?(self)
end