Class: MatchAll
- Inherits:
-
QueryStringSearch::AbstractMatcher
- Object
- QueryStringSearch::AbstractMatcher
- MatchAll
- Defined in:
- lib/query_string_search/matchers/match_all.rb
Instance Attribute Summary
Attributes inherited from QueryStringSearch::AbstractMatcher
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from QueryStringSearch::AbstractMatcher
all_reserved_words, descendants, #initialize, matchers, reserved_words
Constructor Details
This class inherits a constructor from QueryStringSearch::AbstractMatcher
Class Method Details
.build_me?(search_type, search_param) ⇒ Boolean
6 7 8 |
# File 'lib/query_string_search/matchers/match_all.rb', line 6 def self.build_me?(search_type, search_param) search_type.nil? && search_param.nil? end |
Instance Method Details
#match?(_) ⇒ Boolean
2 3 4 |
# File 'lib/query_string_search/matchers/match_all.rb', line 2 def match?(_) true end |