class ContentType::Parser

ContentType string parser

Constants

CHAR

rubocop:disable LineLength rubocop:disable Blocks rubocop:disable BlockAlignment

CR
CRLF
CTLS
HTAB
LF
SPACE
SPECIALS
TSPECIALS

Public Instance Methods

stri(s) click to toggle source
# File lib/content_type/parser.rb, line 40
def stri(s)
  s.split(//).map { |c| match["#{c.upcase}#{c.downcase}"] }.reduce :>>
end