class Cucumber::CucumberExpressions::AlternationNotAllowedInOptional
Public Class Methods
new(expression, current)
click to toggle source
Calls superclass method
# File lib/cucumber/cucumber_expressions/errors.rb, line 142 def initialize(expression, current) super(build_message( current.start, expression, point_at_located(current), "An alternation can not be used inside an optional", "You can use '\\/' to escape the the '/'" )) end