class MongoModel::EmbeddedDocument

Constants

Collection

Allow Collection class to be used in property definitions

Map

Allow Map class to be used in property definitions

Public Instance Methods

==(other) click to toggle source
# File lib/mongomodel/embedded_document.rb, line 3
def ==(other)
  self.class == other.class && attributes == other.attributes
end