Class: ContentType::Parser::Stri
- Inherits:
-
Parslet::Atoms::Str
- Object
- Parslet::Atoms::Str
- ContentType::Parser::Stri
- Defined in:
- lib/content_type/parser.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize ⇒ Stri
constructor
A new instance of Stri.
Constructor Details
#initialize ⇒ Stri
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 |