Sha256: 053e2f953fe3d0f111b250e2deeb96d4a12d031edd169c037158908a054eef17

Contents?: true

Size: 208 Bytes

Versions: 4

Compression:

Stored size: 208 Bytes

Contents

org.neo4j.graphdb.Node.java_class.ruby_class.class_eval do 
  
  def id
    getId
  end

  def to_hash
    extra_values = {:node_id => self.getId, :kind => 'Node'}
    properties.merge extra_values
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
neo4jr-simple-0.2.2 lib/neo4jr/node_extension.rb
neo4jr-simple-0.2.1 lib/neo4jr/node_extension.rb
neo4jr-simple-0.2.0 lib/neo4jr/node_extension.rb
neo4jr-simple-0.1.8 lib/neo4jr/node_extension.rb