Class: AttrSearchableGrammar::Nodes::Not

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/attr_searchable_grammar/nodes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Base

#and, #can_flatten?, #can_group?, #can_optimize?, #finalize!, #flatten!, #fulltext?, #group!, #nodes, #not, #optimize!, #or, #to_sql

Constructor Details

#initialize(object) ⇒ Not

Returns a new instance of Not.



86
87
88
# File 'lib/attr_searchable_grammar/nodes.rb', line 86

def initialize(object)
  @object = object
end

Instance Attribute Details

#objectObject

Returns the value of attribute object.



84
85
86
# File 'lib/attr_searchable_grammar/nodes.rb', line 84

def object
  @object
end