Class: Sunspot::Query::Connective::Conjunction
- Inherits:
-
Abstract
- Object
- Abstract
- Sunspot::Query::Connective::Conjunction
- Defined in:
- sunspot/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_positive_restriction, #add_positive_shorthand_restriction, #add_restriction, #add_shorthand_restriction, #initialize, #negate, #negated?, #to_boolean_phrase
Methods included from Filter
Constructor Details
This class inherits a constructor from Sunspot::Query::Connective::Abstract
Class Method Details
+ (Object) inverse
189 190 191 |
# File 'sunspot/lib/sunspot/query/connective.rb', line 189 def inverse Disjunction end |
Instance Method Details
- (Object) add_conjunction
194 195 196 |
# File 'sunspot/lib/sunspot/query/connective.rb', line 194 def add_conjunction self end |