1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/benchmark.rb (Job::Benchmark#item): fix typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-02-10 15:29:00 +00:00
parent e833cd9b3c
commit a336e6ebd1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Feb 11 00:18:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
* lib/benchmark.rb (Job::Benchmark#item): fix typo.
Sun Feb 10 21:58:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
* common.mk (encdb, transdb): depend on $(PREP).

View file

@ -333,7 +333,7 @@ module Benchmark
# Registers the given label and block pair in the job list.
#
def item(label = "", &blk) # :yield:
raise ArgmentError, "no block" unless block_given?
raise ArgumentError, "no block" unless block_given?
label += ' '
w = label.length
@width = w if @width < w