Exception: Regexp::Expression::Conditional::TooManyBranches
- Inherits:
-
Parser::Error
- Object
- StandardError
- Parser::Error
- Regexp::Expression::Conditional::TooManyBranches
- Defined in:
- lib/regexp_parser/expression/classes/conditional.rb
Instance Method Summary collapse
-
#initialize ⇒ TooManyBranches
constructor
A new instance of TooManyBranches.
Constructor Details
#initialize ⇒ TooManyBranches
Returns a new instance of TooManyBranches.
4 5 6 |
# File 'lib/regexp_parser/expression/classes/conditional.rb', line 4 def initialize super('The conditional expression has more than 2 branches') end |