class MongoModel::Document

Public Instance Methods

==(other) click to toggle source
# File lib/mongomodel/document.rb, line 8
def ==(other)
  self.class == other.class && id == other.id
end