Sha256: c174616b9af0f0e39c9bc208335995efb097ecf528bac5feba04e7451afdd57e

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

module Neo4j
  module Equal
    def equal?(o)
      eql?(o)
    end

    def eql?(o)
      return false unless o.respond_to?(:getId)
      o.getId == getId
    end

    def ==(o)
      eql?(o)
    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
neo4j-1.0.0.beta.17 lib/neo4j/equal.rb
neo4j-1.0.0.beta.16 lib/neo4j/equal.rb
neo4j-1.0.0.beta.15 lib/neo4j/equal.rb
neo4j-1.0.0.beta.14 lib/neo4j/equal.rb