diff options
author | gotoken <gotoken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 15:49:58 +0000 |
---|---|---|
committer | gotoken <gotoken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-11 15:49:58 +0000 |
commit | 208b52a3d3b2d1b33cbf23d5ea9761508fbb0195 (patch) | |
tree | b2eb2cd64daa46277661362c53911e6a753f8f08 /lib/benchmark.rb | |
parent | c1cb27402f511aa6ec4daf9dc39de8edf08bdcaa (diff) |
update rdoc [ruby-core:20407] #835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/benchmark.rb')
-rw-r--r-- | lib/benchmark.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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| |