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