class Neo4j::Cypher::Foreach
Public Class Methods
new(clause_list, input_context, &block)
click to toggle source
Calls superclass method
Neo4j::Cypher::Clause::new
# File lib/neo4j-cypher/foreach.rb 5 def initialize(clause_list, input_context, &block) 6 super(clause_list, :foreach, input_context) 7 # Input can either be a property array or a node/relationship collection 8 input = input_context.clause 9 clause_list.delete(input) 10 filter_initialize(input_context, '', " : ", &block) 11 end