summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-13 03:10:19 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-13 03:10:19 +0000
commit465eec7158652dea2823f919eb3f4b0ed01e9ff3 (patch)
treecf55ab94919493eb7f14ecccdb6ee4b6df07fe59 /lib
parent5ecf4d8af325771bb022e922a38b15e7e4dfb94a (diff)
merge revision(s) 15425:
* lib/benchmark.rb (Job::Benchmark#item): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/benchmark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/benchmark.rb b/lib/benchmark.rb
index bd91a6e..6ab0755 100644
--- a/lib/benchmark.rb
+++ b/lib/benchmark.rb
@@ -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.concat ' '
w = label.length
@width = w if @width < w