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

def total(for_status = nil)

def total(for_status = nil)
  if for_status
    @totals.fetch(for_status, 0)
  else
    @totals.values.reduce(0) { |total, count| total + count }
  end
end