Module: Neo4j::EntityEquality

Included in:
Node, Relationship
Defined in:
lib/neo4j/entity_equality.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) ==(other) Also known as: eql?



3
4
5
# File 'lib/neo4j/entity_equality.rb', line 3

def ==(other)
  other.class == self.class && other.neo_id == neo_id
end