lib/neo4j/neo.rb
# Loads a Neo relationship
# If the neo property 'classname' to exist it will use that to create an instance of that class.
# Otherwise it will create an instance of Neo4j::Relations::DynamicRelation that represent 'rel'
#
Loads a Neo relationship
If the neo property 'classname' to exist it will use that to create an instance of that class.
Otherwise it will create an instance of Neo4j::Relations::DynamicRelation that represent 'rel'
Loads a Neo relationship If the neo property ' classname ' to exist it will use that to create an instance of that class . Otherwise it will create an instance of Neo4j :: Relations :: DynamicRelation that represent ' rel '
def load_relationship(rel)
      classname = rel.get_property('classname') if rel.has_property('classname')
      classname = Neo4j::Relations::DynamicRelation.to_s if classname.nil?
      _load classname, rel
    end
def load_relationship ( rel ) classname = rel . get_property ( 'classname' ) if rel . has_property ( 'classname' ) classname = Neo4j :: Relations :: DynamicRelation . to_s if classname . nil? _load classname , rel end
Loads a Neo relationship
If the neo property 'classname' to exist it will use that to create an instance of that class.
Loads a Neo relationship If the neo property ' classname ' to exist it will use that to create an instance of that class .
rel
<not_specific>