Class: Neo4j::Core::Path

Inherits:
Object
  • Object
show all
Includes:
Wrappable
Defined in:
lib/neo4j/core/path.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Wrappable

included

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

#directionsObject (readonly)

Returns the value of attribute directions.



4
5
6
# File 'lib/neo4j/core/path.rb', line 4

def directions
  @directions
end

#nodesObject (readonly)

Returns the value of attribute nodes.



4
5
6
# File 'lib/neo4j/core/path.rb', line 4

def nodes
  @nodes
end

#relationshipsObject (readonly)

Returns the value of attribute relationships.



4
5
6
# File 'lib/neo4j/core/path.rb', line 4

def relationships
  @relationships
end