module Roda::RodaPlugins::Base::RequestMethods
def match(matcher)
Attempt to match the argument to the given request, handling
def match(matcher) case matcher when String _match_string(matcher) when Class _match_class(matcher) when TERM empty_path? when Symbol _match_symbol(matcher) when Regexp _match_regexp(matcher) when Hash _match_hash(matcher) when Array _match_array(matcher) when Proc matcher.call when true, false, nil matcher else unsupported_matcher(matcher) end end