module Roda::RodaPlugins::ParamMatchers::RequestMethods

def match_param(key)

Adds any match to the captures.
Match the given parameter if present, even if the parameter is empty.
def match_param(key)
  if v = self[key]
    @captures << v
  end
end

def match_param!(key)

Adds any match to the captures.
Match the given parameter if present and not empty.
def match_param!(key)
  if (v = self[key]) && !v.empty?
    @captures << v
  end
end