class Benchmark::Job

def item(label = "", &blk) # :yield:

:yield:

Registers the given label and block pair in the job list.
def item(label = "", &blk) # :yield:
  raise ArgumentError, "no block" unless block_given?
  label = label.to_s
  w = label.length
  @width = w if @width < w
  @list << [label, blk]
  self
end