Module: Neo4j::Cypher::Context::MathOperator

Defined in:
lib/neo4j-cypher/context.rb

Instance Method Summary collapse

Instance Method Details

#+(other) ⇒ Object



61
62
63
# File 'lib/neo4j-cypher/context.rb', line 61

def +(other)
  Operator.new(clause_list, clause, other, '+').eval_context
end

#-(other) ⇒ Object



57
58
59
# File 'lib/neo4j-cypher/context.rb', line 57

def -(other)
  Operator.new(clause_list, clause, other, '-').eval_context
end