Class: SunspotMatchers::GroupMatcher
- Inherits:
-
BaseMatcher
- Object
- BaseMatcher
- SunspotMatchers::GroupMatcher
- Defined in:
- lib/sunspot_matchers/matchers.rb
Instance Attribute Summary
Attributes inherited from BaseMatcher
Instance Method Summary collapse
Methods inherited from BaseMatcher
#actual_params, #actual_search, #build_comparison_search, #compare_key, #compare_multi_value, #compare_single_value, #comparison_matcher_for_key, #comparison_params, #differences, #field, #filter_values, #initialize, #match?, #missing_param_error_message, #query_params_for_search, #search_tuple, #search_types, #unexpected_match_error_message, #wildcard?, #wildcard_matcher_for_keys
Constructor Details
This class inherits a constructor from SunspotMatchers::BaseMatcher
Instance Method Details
#keys_to_compare ⇒ Object
285 286 287 |
# File 'lib/sunspot_matchers/matchers.rb', line 285 def keys_to_compare comparison_params.keys.select {|key| /group/ =~ key.to_s} end |
#search_method ⇒ Object
281 282 283 |
# File 'lib/sunspot_matchers/matchers.rb', line 281 def search_method :group end |