Class: Aspen::Renderers::CypherRenderer
- Inherits:
-
AbstractRenderer
- Object
- AbstractRenderer
- Aspen::Renderers::CypherRenderer
- Defined in:
- lib/aspen/renderers/cypher_renderer.rb
Instance Attribute Summary
Attributes inherited from AbstractRenderer
Instance Method Summary collapse
Methods inherited from AbstractRenderer
#initialize, #nodes, #relationships
Constructor Details
This class inherits a constructor from AbstractRenderer
Instance Method Details
#render ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/aspen/renderers/cypher_renderer.rb', line 8 def render if environment[:batch].nil? || environment[:batch] CypherBatchRenderer.new(statements).render else CypherBaseRenderer.new(statements).render end end |