module Roda::RodaPlugins::Base::RequestMethods

def _match_class(klass)

String :: Match any non-empty segment, yielding result to block as a string
Integer :: Match an integer segment, yielding result to block as an integer
are supported by default:
Match the given class. Currently, the following classes
def _match_class(klass)
  meth = :"_match_class_#{klass}"
  if respond_to?(meth, true)
    # Allow calling private methods, as match methods are generally private
    send(meth)
  else
    unsupported_matcher(klass)
  end
end