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

Inherits:
StandardError
  • 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.



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