class Cucumber::Core::Test::Result::Summary

def duration(duration)

def duration(duration)
  @durations << duration
  self
end

def exception(exception)

def exception(exception)
  @exceptions << exception
  self
end

def failed(*args)

def failed(*args)
  @total_failed += 1
  self
end

def initialize

def initialize
  @total_failed =
    @total_passed =
    @total_skipped =
    @total_undefined = 0
  @exceptions = []
  @durations = []
end

def passed(*args)

def passed(*args)
  @total_passed += 1
  self
end

def skipped(*args)

def skipped(*args)
  @total_skipped +=1
  self
end

def total

def total
  total_passed + total_failed + total_skipped + total_undefined
end

def undefined(*args)

def undefined(*args)
  @total_undefined += 1
  self
end