Class: Sunspot::Query::Connective::Conjunction
- Defined in:
- lib/sunspot/query/connective.rb
Overview
Conjunctions combine their components with an AND operator.
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Abstract
#add_component, #add_disjunction, #add_negated_restriction, #add_negated_shorthand_restriction, #add_restriction, #add_shorthand_restriction, #initialize, #negate, #negated?, #to_boolean_phrase
Constructor Details
This class inherits a constructor from Sunspot::Query::Connective::Abstract
Class Method Details
.inverse ⇒ Object
172 173 174 |
# File 'lib/sunspot/query/connective.rb', line 172 def inverse Disjunction end |
Instance Method Details
#add_conjunction ⇒ Object
177 178 179 |
# File 'lib/sunspot/query/connective.rb', line 177 def add_conjunction self end |