Exception: Regexp::Scanner::InvalidGroupOption
- Inherits:
-
ValidationError
- Object
- StandardError
- Parser::Error
- ValidationError
- Regexp::Scanner::InvalidGroupOption
- Defined in:
- lib/regexp_parser/scanner.rb
Overview
Invalid groupOption. Used for inline options. TODO: should become InvalidGroupOptionError in v3.0.0 for consistency
Instance Method Summary collapse
-
#initialize(option, text) ⇒ InvalidGroupOption
constructor
A new instance of InvalidGroupOption.
Constructor Details
#initialize(option, text) ⇒ InvalidGroupOption
Returns a new instance of InvalidGroupOption.
48 49 50 |
# File 'lib/regexp_parser/scanner.rb', line 48 def initialize(option, text) super "Invalid group option #{option} in #{text}" end |