diff --git a/lib/benchmark.rb b/lib/benchmark.rb index a54700a1c2..380c364398 100644 --- a/lib/benchmark.rb +++ b/lib/benchmark.rb @@ -103,6 +103,7 @@ # using the #benchmark method: # # require 'benchmark' +# include Benchmark # we need the CAPTION and FMTSTR constants # # n = 50000 # Benchmark.benchmark(" "*7 + CAPTION, 7, FMTSTR, ">total:", ">avg:") do |x|