mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
bdc75418dc
commit
3c9aa0e606
1 changed files with 1 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue