item(label = "")
Registers the given label and block pair in the job list.
# File lib/benchmark.rb, line 336 def item(label = "", &blk) # :yield: raise ArgumentError, "no block" unless block_given? label += ' ' w = label.length @width = w if @width < w @list.push [label, blk] self end