Class: Sunspot::Query::Restriction::AnyOf
- Defined in:
- lib/sunspot/query/restriction.rb
Overview
Results must have field with value included in given collection
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #negate, #to_boolean_phrase, #to_negated_boolean_phrase, #to_params, #to_positive_boolean_phrase
Methods included from Filter
Constructor Details
This class inherits a constructor from Sunspot::Query::Restriction::Base
Instance Method Details
#negated? ⇒ Boolean
280 281 282 283 284 285 286 |
# File 'lib/sunspot/query/restriction.rb', line 280 def negated? if @value.empty? false else super end end |