method
new
v1_8_6_287 -
Show latest stable
- Class:
Benchmark::Report
new(width = 0, fmtstr = nil)public
Returns an initialized Report instance. Usually, one doesn’t call this method directly, as new Report objects are created by the #benchmark and #bm methods. width and fmtstr are the label offset and format string used by Tms#format.