Exception: Regexp::Scanner::UnknownPosixClassError
- Inherits:
-
ValidationError
- Object
- StandardError
- Parser::Error
- ValidationError
- Regexp::Scanner::UnknownPosixClassError
- Defined in:
- lib/regexp_parser/scanner.rb
Overview
The POSIX class name was not recognized by the scanner.
Instance Method Summary collapse
-
#initialize(text) ⇒ UnknownPosixClassError
constructor
A new instance of UnknownPosixClassError.
Constructor Details
#initialize(text) ⇒ UnknownPosixClassError
Returns a new instance of UnknownPosixClassError.
69 70 71 |
# File 'lib/regexp_parser/scanner.rb', line 69 def initialize(text) super "Unknown POSIX class #{text}" end |