summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgotoken <gotoken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-11 15:49:58 +0000
committergotoken <gotoken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-11 15:49:58 +0000
commitd868d9cbfb8118f3bf2f4003ef5e2a146ee744d9 (patch)
treeb2eb2cd64daa46277661362c53911e6a753f8f08 /lib
parente2e10355072124ac44f8931f2eaac71878014da1 (diff)
downloadruby-d868d9cbfb8118f3bf2f4003ef5e2a146ee744d9.tar.gz
ruby-d868d9cbfb8118f3bf2f4003ef5e2a146ee744d9.tar.xz
ruby-d868d9cbfb8118f3bf2f4003ef5e2a146ee744d9.zip
update rdoc [ruby-core:20407] #835
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/benchmark.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/benchmark.rb b/lib/benchmark.rb
index a54700a1c..380c36439 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|