Sha256: 3b2b12727946fb28d57d777c2e757ee98d7dddc52c1f82f2fbf3b001170d06af

Contents?: true

Size: 393 Bytes

Versions: 11

Compression:

Stored size: 393 Bytes

Contents

require 'neo4j/core/wrappable'

module Neo4j
  module Core
    module Node
      def props; properties; end
      # Perhaps we should deprecate this?
      def neo_id; id; end

      def ==(other)
        other.is_a?(Node) && neo_id == other.neo_id
      end

      def labels
        @labels ||= super
      end

      def properties
        @properties ||= super
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
activegraph-10.0.0.pre.alpha.11 lib/neo4j/core/node.rb
activegraph-10.0.0.pre.alpha.10 lib/neo4j/core/node.rb
activegraph-10.0.0.pre.alpha.9 lib/neo4j/core/node.rb
activegraph-10.0.0.pre.alpha.8 lib/neo4j/core/node.rb
activegraph-10.0.0.pre.alpha.7 lib/neo4j/core/node.rb
activegraph-10.0.0.pre.alpha.6 lib/neo4j/core/node.rb
neo4j-10.0.0.pre.alpha.5 lib/neo4j/core/node.rb
neo4j-10.0.0.pre.alpha.4 lib/neo4j/core/node.rb
neo4j-10.0.0.pre.alpha.3 lib/neo4j/core/node.rb
neo4j-10.0.0.pre.alpha.2 lib/neo4j/core/node.rb
neo4j-10.0.0.pre.alpha.1 lib/neo4j/core/node.rb