summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-22 12:49:00 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-22 12:49:00 +0000
commit3c9aa0e606ccf4991181ba4659d4bb2ec0ba2b72 (patch)
treef8f3c768f2e4fa4ca960213f0681db043c76cc93 /lib
parentbdc75418dc99dbd0124f8f389609324568f04a3d (diff)
merges r22247 from trunk into ruby_1_9_1.
update rdoc [ruby-core:20407] #835 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@22530 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 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|