class Cucumber::StepMother::StepInvoker

def eof

def eof
  invoke
end

def initialize(step_mother)

def initialize(step_mother)
  @step_mother = step_mother
end

def invoke

def invoke
  if @name
    @multiline = Ast::Table.new(@rows) if @multiline.nil? && @rows
    @step_mother.invoke(*[@name, @multiline].compact) 
    @name = nil
    @multiline = nil
    @rows = nil
  end
end

def py_string(string, line)

def py_string(string, line)
  @multiline = Ast::PyString.new(string)
end

def row(row, line)

def row(row, line)
  @rows ||= []
  @rows << row
end

def step(keyword, name, line)

def step(keyword, name, line)
  invoke
  @name = name
end