class Net::HTTP::Server::Parser

Inspired by:

Protected Instance Methods

charset(*chars) click to toggle source

Creates a matcher for the given characters.

@param [Array<String>] chars

The characters to match.
# File lib/net/http/server/parser.rb, line 144
def charset(*chars)
  match[chars.map { |c| Regexp.escape(c) }.join]
end