class Cucumber::CucumberExpressions::MissingEndToken
Public Class Methods
Source
# File lib/cucumber/cucumber_expressions/errors.rb, line 136 def initialize(expression, begin_token, end_token, current) begin_symbol = Token::symbol_of(begin_token) end_symbol = Token::symbol_of(end_token) purpose = Token::purpose_of(begin_token) super( build_message( current.start, expression, point_at_located(current), "The '#{begin_symbol}' does not have a matching '#{end_symbol}'", "If you did not intend to use #{purpose} you can use '\\#{begin_symbol}' to escape the #{purpose}" ) ) end
Calls superclass method