Sha256: 0f11850afe6f735cfc1cdfb3209e9e61381e75853dd8a2be2427b4205e4290ff
Contents?: true
Size: 582 Bytes
Versions: 13
Compression:
Stored size: 582 Bytes
Contents
module Neo4j module Rails module Relationships class Relationship attr_reader :rel_type, :start_node, :end_node def initialize(rel_type, start_node, end_node, decl) @rel_type = rel_type @start_node = start_node @end_node = end_node @decl = decl end def del @decl.del_rel(self) end def persist @start_node._java end def to_s "Rel [#{rel_type} start #{start_node} end #{end_node}]" end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems