Sha256: d144413dd1c725989e68085c46f3433f3171c32bd5b73604caf98aaeec406ce0

Contents?: true

Size: 248 Bytes

Versions: 13

Compression:

Stored size: 248 Bytes

Contents

module Neo4j
  module Equal
    def neo_id
      getId
    end

    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

13 entries across 13 versions & 1 rubygems

Version Path
neo4j-1.0.0.beta.13 lib/neo4j/equal.rb
neo4j-1.0.0.beta.12 lib/neo4j/equal.rb
neo4j-1.0.0.beta.11 lib/neo4j/equal.rb
neo4j-1.0.0.beta.10 lib/neo4j/equal.rb
neo4j-1.0.0.beta.9 lib/neo4j/equal.rb
neo4j-1.0.0.beta.8 lib/neo4j/equal.rb
neo4j-1.0.0.beta.7 lib/neo4j/equal.rb
neo4j-1.0.0.beta.6 lib/neo4j/equal.rb
neo4j-1.0.0.beta.5 lib/neo4j/equal.rb
neo4j-1.0.0.beta.4 lib/neo4j/equal.rb
neo4j-1.0.0.beta.3 lib/neo4j/equal.rb
neo4j-1.0.0.beta.2 lib/neo4j/equal.rb
neo4j-1.0.0.beta.1 lib/neo4j/equal.rb