Class: Pacer::Neo4j::RawVertexWrappingPipe

Inherits:
Pipes::RubyPipe
  • Object
show all
Defined in:
lib/pacer-neo4j/raw_vertex_wrapping_pipe.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(graph) ⇒ RawVertexWrappingPipe

Returns a new instance of RawVertexWrappingPipe.



8
9
10
11
# File 'lib/pacer-neo4j/raw_vertex_wrapping_pipe.rb', line 8

def initialize(graph)
  super()
  @graph = graph.blueprints_graph
end

Instance Attribute Details

#graphObject (readonly)

Returns the value of attribute graph.



6
7
8
# File 'lib/pacer-neo4j/raw_vertex_wrapping_pipe.rb', line 6

def graph
  @graph
end

Instance Method Details

#processNextStartObject



13
14
15
# File 'lib/pacer-neo4j/raw_vertex_wrapping_pipe.rb', line 13

def processNextStart
  Neo4jVertex.new starts.next, graph
end