module Neo4j::ActiveRel::Property
Public Class Methods
new(attributes = nil)
click to toggle source
Calls superclass method
Neo4j::Shared::Property::new
# File lib/neo4j/active_rel/property.rb 31 def initialize(attributes = nil) 32 super(attributes) 33 end
Public Instance Methods
creates_unique_option()
click to toggle source
# File lib/neo4j/active_rel/property.rb 35 def creates_unique_option 36 self.class.creates_unique_option 37 end
type()
click to toggle source
@return [String] a string representing the relationship type that will be created
# File lib/neo4j/active_rel/property.rb 26 def type 27 self.class.type 28 end
Also aliased as: rel_type
Private Instance Methods
inspect_attributes()
click to toggle source
# File lib/neo4j/active_rel/property.rb 91 def inspect_attributes 92 attributes.to_a 93 end
load_nodes(from_node = nil, to_node = nil)
click to toggle source
# File lib/neo4j/active_rel/property.rb 86 def load_nodes(from_node = nil, to_node = nil) 87 @from_node = RelatedNode.new(from_node) 88 @to_node = RelatedNode.new(to_node) 89 end