Class: SearchCopGrammar::NotExpression

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

Instance Attribute Summary

Attributes inherited from BaseNode

#query_info, #query_options

Instance Method Summary collapse

Methods inherited from BaseNode

#collection_for, #elements

Instance Method Details

#evaluateObject



130
131
132
# File 'lib/search_cop_grammar.rb', line 130

def evaluate
  elements.first.evaluate.not
end