aboutsummaryrefslogtreecommitdiffstats
path: root/lib/benchmark.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/benchmark.rb')
-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|