class Cucumber::CucumberExpressions::AlternativeMayNotBeEmpty

Public Class Methods

new(node, expression) click to toggle source
Calls superclass method
# File lib/cucumber/cucumber_expressions/errors.rb, line 54
def initialize(node, expression)
  super(build_message(
            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