class Cucumber::Formatter::Rerun

def step_name(keyword, step_match, status, source_indent, background)

def step_name(keyword, step_match, status, source_indent, background)
  @rerun = true if [:failed, :pending, :undefined].index(status)
end