ruby-changes:10685
From: gotoken <ko1@a...>
Date: Thu, 12 Feb 2009 00:55:05 +0900 (JST)
Subject: [ruby-changes:10685] Ruby:r22248 (ruby_1_8): update rdoc #835
gotoken 2009-02-12 00:54:03 +0900 (Thu, 12 Feb 2009) New Revision: 22248 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22248 Log: update rdoc [ruby-core:20407] #835 Modified files: branches/ruby_1_8/lib/benchmark.rb Index: ruby_1_8/lib/benchmark.rb =================================================================== --- ruby_1_8/lib/benchmark.rb (revision 22247) +++ ruby_1_8/lib/benchmark.rb (revision 22248) @@ -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| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/