diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/benchmark.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Feb 11 00:22:55 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * lib/benchmark.rb (Job::Benchmark#item): fix typo. + Sat Feb 9 23:22:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/bigdecimal/extconf.rb: simplified the condition. diff --git a/lib/benchmark.rb b/lib/benchmark.rb index 577d07acbc..a54700a1c2 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 += ' ' w = label.length @width = w if @width < w |