Class: Neo4j::Core::Path
- Inherits:
-
Object
- Object
- Neo4j::Core::Path
- Includes:
- Wrappable
- Defined in:
- lib/neo4j/core/path.rb
Instance Attribute Summary collapse
-
#directions ⇒ Object
readonly
Returns the value of attribute directions.
-
#nodes ⇒ Object
readonly
Returns the value of attribute nodes.
-
#relationships ⇒ Object
readonly
Returns the value of attribute relationships.
Instance Method Summary collapse
-
#initialize(nodes, relationships, directions) ⇒ Path
constructor
A new instance of Path.
Methods included from Wrappable
Constructor Details
#initialize(nodes, relationships, directions) ⇒ Path
Returns a new instance of Path.
8 9 10 11 12 |
# File 'lib/neo4j/core/path.rb', line 8 def initialize(nodes, relationships, directions) @nodes = nodes @relationships = relationships @directions = directions end |
Instance Attribute Details
#directions ⇒ Object (readonly)
Returns the value of attribute directions.
4 5 6 |
# File 'lib/neo4j/core/path.rb', line 4 def directions @directions end |
#nodes ⇒ Object (readonly)
Returns the value of attribute nodes.
4 5 6 |
# File 'lib/neo4j/core/path.rb', line 4 def nodes @nodes end |
#relationships ⇒ Object (readonly)
Returns the value of attribute relationships.
4 5 6 |
# File 'lib/neo4j/core/path.rb', line 4 def relationships @relationships end |