Parent

Methods

Gherkin::Parser::ParseError

Public Class Methods

new(state, new_state, expected_states, line) click to toggle source
# File lib/gherkin/parser/parser.rb, line 6
def initialize(state, new_state, expected_states, line)
  super("Parse error on line #{line}. Found #{new_state} when expecting one of: #{expected_states.join(', ')}. (Current state: #{state}).")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.