class Neo4j::Cypher::NodeVar::EvalContext

Public Class Methods

new(clause) click to toggle source
Calls superclass method Neo4j::Cypher::Context::new
   # File lib/neo4j-cypher/node_var.rb
46 def initialize(clause)
47   super
48 end

Public Instance Methods

[](p) click to toggle source
   # File lib/neo4j-cypher/node_var.rb
55 def [](p)
56   property = Property.new(clause, p)
57   property.match_value = clause.var_name
58   property.eval_context
59 end
new(props = nil, *labels) click to toggle source
   # File lib/neo4j-cypher/node_var.rb
50 def new(props = nil, *labels)
51   clause.clause_list.delete(clause)
52   Create.new(clause_list, props, labels).eval_context
53 end