Module: Pacer::Transform::LookupIds
- Defined in:
- lib/pacer/transform/lookup_ids.rb
Instance Method Summary collapse
Instance Method Details
#attach_pipe(end_pipe) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/pacer/transform/lookup_ids.rb', line 22 def attach_pipe(end_pipe) fail ClientError, 'Can not look up elements without the graph' unless graph if element_type == :vertex pipe = IdVertexPipe.new graph.blueprints_graph elsif element_type == :vertex pipe = IdEdgePipe.new graph.blueprints_graph else fail ClientError, 'Can not look up elements without the element_type' end pipe.setStarts end_pipe if end_pipe pipe end |