Class: SearchCopGrammar::NotExpression

Inherits:
BaseNode
  • Object
show all
Defined in:
lib/search_cop_grammar.rb

Instance Attribute Summary

Attributes inherited from BaseNode

#query_info

Instance Method Summary collapse

Methods inherited from BaseNode

#collection_for, #elements

Instance Method Details

#evaluateObject



120
121
122
# File 'lib/search_cop_grammar.rb', line 120

def evaluate
  elements.first.evaluate.not
end