Class: SearchCopGrammar::Nodes::Not
- Inherits:
-
Object
- Object
- SearchCopGrammar::Nodes::Not
- Includes:
- Base
- Defined in:
- lib/search_cop_grammar/nodes.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
- #finalize! ⇒ Object
-
#initialize(object) ⇒ Not
constructor
A new instance of Not.
Methods included from Base
#and, #can_flatten?, #can_group?, #can_optimize?, #flatten!, #fulltext?, #group!, #nodes, #not, #optimize!, #or
Constructor Details
#initialize(object) ⇒ Not
Returns a new instance of Not.
82 83 84 |
# File 'lib/search_cop_grammar/nodes.rb', line 82 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
80 81 82 |
# File 'lib/search_cop_grammar/nodes.rb', line 80 def object @object end |
Instance Method Details
#finalize! ⇒ Object
86 87 88 89 90 |
# File 'lib/search_cop_grammar/nodes.rb', line 86 def finalize! @object.finalize! self end |