Module: Ripple::EmbeddedDocument::InstanceMethods

Defined in:
lib/ripple/embedded_document.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



62
63
64
65
66
# File 'lib/ripple/embedded_document.rb', line 62

def ==(other)
  self.class == other.class &&
  _parent_document == other._parent_document &&
  attributes.except('_type') == other.attributes.except('_type')
end