new(state, new_state, expected_states, uri, line)click to toggle source
Calls superclass method
# File lib/gherkin/parser/parser.rb, line 9definitialize(state, new_state, expected_states, uri, line)
super("Parse error at #{uri}:#{line}. Found #{new_state} when expecting one of: #{expected_states.join(', ')}. (Current state: #{state}).")
end