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