Class: Neo4j::Cypher::Operator::EvalContext
- Inherits:
-
Object
- Object
- Neo4j::Cypher::Operator::EvalContext
show all
- Includes:
- MathFunctions, Context
- Defined in:
- lib/neo4j-cypher/operator.rb
Instance Attribute Summary
Attributes included from Context
#clause
Instance Method Summary
collapse
Methods included from Context
#clause_list, #initialize
Instance Method Details
#&(other) ⇒ Object
101
102
103
|
# File 'lib/neo4j-cypher/operator.rb', line 101
def &(other)
Operator.new(clause.clause_list, clause, other.clause, "and").eval_context
end
|
#not ⇒ Object
109
110
111
112
|
# File 'lib/neo4j-cypher/operator.rb', line 109
def not
clause.not
self
end
|
#|(other) ⇒ Object
105
106
107
|
# File 'lib/neo4j-cypher/operator.rb', line 105
def |(other)
Operator.new(clause.clause_list, clause, other.clause, "or").eval_context
end
|