Exception: Regexp::Expression::Conditional::TooManyBranches

Inherits:
Parser::Error
  • Object
show all
Defined in:
lib/regexp_parser/expression/classes/conditional.rb

Instance Method Summary collapse

Constructor Details

#initializeTooManyBranches

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