Exception: Cucumber::CucumberExpressions::AlternativeMayNotBeEmpty
- Inherits:
-
CucumberExpressionError
- Object
- StandardError
- CucumberExpressionError
- Cucumber::CucumberExpressions::AlternativeMayNotBeEmpty
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-cucumber-expressions-15.2.0/lib/cucumber/cucumber_expressions/errors.rb
Instance Method Summary collapse
-
#initialize(node, expression) ⇒ AlternativeMayNotBeEmpty
constructor
A new instance of AlternativeMayNotBeEmpty.
Methods inherited from CucumberExpressionError
#build_message, #point_at, #point_at_located
Constructor Details
#initialize(node, expression) ⇒ AlternativeMayNotBeEmpty
Returns a new instance of AlternativeMayNotBeEmpty.
54 55 56 57 58 59 60 61 62 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-cucumber-expressions-15.2.0/lib/cucumber/cucumber_expressions/errors.rb', line 54 def initialize(node, expression) super(( node.start, expression, point_at_located(node), 'Alternative may not be empty', "If you did not mean to use an alternative you can use '\\/' to escape the the '/'" )) end |