Class

Job

Extends:

A Job is a sequence of labelled blocks to be processed by the Benchmark.bmbm method. It is of little direct interest to the user.

Public Attributes
list An array of 2-element arrays, consisting of label and block pairs.
width Length of the widest label in the #list, plus one.
Public Methods
item Registers the given label and block pair in the job list.
new Returns an initialized Job instance. Usually, one doesn’t call this method directly, as new Job objects are created by the #bmbm method. width is a initial value for the label offset used in formatting; the #bmbm method passes its width argument to this constructor.
report Alias for #item
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.