module Roda::RodaPlugins::HeaderMatchers::RequestMethods

def match_host(hostname)

can be a regexp or a string.
Match if the host of the request is the same as the hostname. +hostname+
def match_host(hostname)
  if hostname.is_a?(Regexp)
    if match = hostname.match(host)
      @captures.concat(match.captures)
    end
  else
    hostname === host
  end
end