class Cucumber::CucumberExpressions::AlternativeMayNotExclusivelyContainOptionals
Public Class Methods
Source
# File lib/cucumber/cucumber_expressions/errors.rb, line 37 def initialize(node, expression) super( build_message( node.start, expression, point_at_located(node), 'An alternative may not exclusively contain optionals', "If you did not mean to use an optional you can use '\\(' to escape the '('" ) ) end
Calls superclass method