Exception: Regexp::Syntax::UnknownSyntaxNameError
- Inherits:
-
SyntaxError
- Object
- StandardError
- SyntaxError
- Regexp::Syntax::UnknownSyntaxNameError
- Defined in:
- lib/regexp_parser/syntax.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ UnknownSyntaxNameError
constructor
A new instance of UnknownSyntaxNameError.
Constructor Details
#initialize(name) ⇒ UnknownSyntaxNameError
Returns a new instance of UnknownSyntaxNameError.
12 13 14 |
# File 'lib/regexp_parser/syntax.rb', line 12 def initialize(name) super "Unknown syntax name '#{name}'. Forgot to add it in the case statement?" end |