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.
83 84 85 |
# File 'lib/search_cop_grammar/nodes.rb', line 83 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
81 82 83 |
# File 'lib/search_cop_grammar/nodes.rb', line 81 def object @object end |
Instance Method Details
#finalize! ⇒ Object
87 88 89 90 91 |
# File 'lib/search_cop_grammar/nodes.rb', line 87 def finalize! @object.finalize! self end |