mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
update rdoc [ruby-core:20407] #835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c1cb27402f
commit
208b52a3d3
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
Reference in a new issue