class Gherkin::UnexpectedEOFException
Public Class Methods
new(received_token, expected_token_types, state_comment)
click to toggle source
Calls superclass method
Gherkin::ParserException.new
# File lib/gherkin/errors.rb, line 40 def initialize(received_token, expected_token_types, state_comment) message = "unexpected end of file, expected: #{expected_token_types.join(", ")}" super(message, received_token.location) end