summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgotoken <gotoken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-11 15:54:03 +0000
committergotoken <gotoken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-11 15:54:03 +0000
commitb672d85dc7840b3f3a3c465cd7a2f447be7358cb (patch)
treea1c992dc499dd5434c097d01e2096107d8d2a43c
parenta34c9c25fcdcfd48e4df4aa25d8fd14932e4b2b2 (diff)
update rdoc [ruby-core:20407] #835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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|