Sha256: ca5949482c5089c9c89a14e9648b4af93b70ff62d90553d60728a9c8da556640
Contents?: true
Size: 303 Bytes
Versions: 4
Compression:
Stored size: 303 Bytes
Contents
org.neo4j.graphdb.Relationship.java_class.ruby_class.class_eval do def to_hash properties extra_values = {:node_id => self.getId, :kind => 'Relationship'} extra_values['type'] = self.getType.name extra_values['to'] = self.getEndNode.id properties.merge(extra_values) end end
Version data entries
4 entries across 4 versions & 1 rubygems