Method: Neo4j::Cypher::Create#initialize
- Defined in:
- lib/neo4j-cypher/create.rb
#initialize(clause_list, props, labels = nil) ⇒ Create
Returns a new instance of Create.
36 37 38 39 40 |
# File 'lib/neo4j-cypher/create.rb', line 36 def initialize(clause_list, props, labels=nil) super(clause_list, :create, EvalContext) @props = props unless props && props.empty? @labels = labels unless labels && labels.empty? end |