class Cucumber::Formatter::Pretty

def attach(src, media_type, filename)

def attach(src, media_type, filename)
  return unless media_type == 'text/x.cucumber.log+plain'
  if filename
    @test_step_output.push("#{filename}: #{src}")
  else
    @test_step_output.push(src)
  end
end