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 += ' '
w = label.length
@width = w if @width < w
@list.push [label, blk]
self
end