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.reduce(0) { |total, status| total += status[1] } end end
def total(for_status = nil) if for_status @totals.fetch(for_status) { 0 } else @totals.reduce(0) { |total, status| total += status[1] } end end