lib/neo4j/mixins/relation.rb
# Inits this node with the specified java neo node
#
# :api: private
Inits this node with the specified java neo node
:api: private
Inits this node with the specified java neo node : api : private
def init_with_rel(node)
      @internal_r = node
      self.classname = self.class.to_s unless @internal_r.hasProperty("classname")
      $NEO_LOGGER.debug {"loading relation '#{self.class.to_s}' id #{@internal_r.getId()}"}
    end
def init_with_rel ( node ) @internal_r = node self . classname = self . class . to_s unless @internal_r . hasProperty ( "classname" ) $NEO_LOGGER . debug { "loading relation '#{self.class.to_s}' id #{@internal_r.getId()}" } end
Inits this node with the specified java neo node
:api: private
Inits this node with the specified java neo node : api : private
node
<not_specific>