module Roda::RodaPlugins::OptimizedMatching::RequestMethods

def is(*args, &block)

regexp, or true, argument.
Optimize the r.is method handling of a single string, String, Integer,
def is(*args, &block)
  case args.length
  when 1
    _is1(args, &block)
  when 0
    always(&block) if @remaining_path.empty?
  else
    if_match(args << TERM, &block)
  end
end