From 32ddfd300d0e2720f1c77e152dae9157d46812be Mon Sep 17 00:00:00 2001 From: shyouhei Date: Fri, 13 Jun 2008 03:09:44 +0000 Subject: 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_5@17133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/benchmark.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/benchmark.rb') diff --git a/lib/benchmark.rb b/lib/benchmark.rb index 0120caf155..36cd4b55a9 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 -- cgit v1.2.3