class Cucumber::CucumberExpressions::AlternationNotAllowedInOptional

def initialize(expression, current)

def initialize(expression, current)
  super(
    build_message(
      current.start,
      expression,
      point_at_located(current),
      'An alternation can not be used inside an optional',
      "If you did not mean to use an alternation you can use '\\/' to escape the '/'. Otherwise rephrase your expression or consider using a regular expression instead."
    )
  )
end