class FlogGauntlet
def report_worst section, data
def report_worst section, data title section do max_size = data.map { |k| k.first.size }.max data.each_with_index do |(k,v), i| puts "%3d: %9.2f: %-#{max_size}s %s" % [i + 1, *yield(k, v)] end end end