Class: ContentType::Parser::Stri

Inherits:
Parslet::Atoms::Str
  • Object
show all
Defined in:
lib/content_type/parser.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeStri

Returns a new instance of Stri.



9
10
11
12
13
# File 'lib/content_type/parser.rb', line 9

def initialize(*)
  super

  @pat = Regexp.new(@pat.source, Regexp::IGNORECASE)
end