Exception: Regexp::Expression::Conditional::TooManyBranches
- Inherits:
-
StandardError
- Object
- StandardError
- 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.
5 6 7 |
# File 'lib/regexp_parser/expression/classes/conditional.rb', line 5 def initialize super('The conditional expression has more than 2 branches') end |