Benchmark Warning

Running benshmark gives the following message:

/ruby-1.8.0/lib/ruby/1.8/benchmark.rb:454: warning: `*’ interpreted as argument prefix

453 def bm(label_width = 0, *labels)
454 benchmark(" "*label_width + CAPTION, label_width, FMTSTR, *labels){|*x|yield *x}
455 end

···


Jim Freeze

Never commit yourself! Let someone else commit you.