Method: Mongo::Model#model_eql?
- Defined in:
- lib/mongo/model/model.rb
#model_eql?(o) ⇒ Boolean
Equality.
13 14 15 16 |
# File 'lib/mongo/model/model.rb', line 13 def model_eql? o return true if equal? o self.class == o.class and self == o end |