class Querylicious::Matcher::Evaluator
Subclass of Dry::Matcher::Evalutator which provides aliases for common matchers
Public Instance Methods
not_key(key, type: Types::Any, &block)
click to toggle source
# File lib/querylicious/matcher.rb, line 20 def not_key(key, type: Types::Any, &block) key(key, op: :not_eql, type: type, &block) end
not_phrase(&block)
click to toggle source
# File lib/querylicious/matcher.rb, line 16 def not_phrase(&block) not_key('phrase', type: Types::Strict::String, &block) end
phrase(&block)
click to toggle source
# File lib/querylicious/matcher.rb, line 12 def phrase(&block) key('phrase', op: :eql, type: Types::Strict::String, &block) end