Module: Neo4j::Cypher::Context::Comparable

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

Instance Method Summary collapse

Instance Method Details

#<(other) ⇒ Object



67
68
69
# File 'lib/neo4j-cypher/context.rb', line 67

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

#<=(other) ⇒ Object



71
72
73
# File 'lib/neo4j-cypher/context.rb', line 71

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

#==(other) ⇒ Object



95
96
97
# File 'lib/neo4j-cypher/context.rb', line 95

def ==(other)
  Operator.new(clause_list, clause, other, "=").eval_context
end

#=~(other) ⇒ Object



75
76
77
# File 'lib/neo4j-cypher/context.rb', line 75

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

#>(other) ⇒ Object



79
80
81
# File 'lib/neo4j-cypher/context.rb', line 79

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

#>=(other) ⇒ Object



83
84
85
# File 'lib/neo4j-cypher/context.rb', line 83

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