diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/benchmark.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Fri Jun 13 12:10:13 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * lib/benchmark.rb (Job::Benchmark#item): fix typo. + Fri Jun 13 12:06:17 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more diff --git a/lib/benchmark.rb b/lib/benchmark.rb index bd91a6efe0..6ab0755613 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 @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-06-13" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080613 -#define RUBY_PATCHLEVEL 173 +#define RUBY_PATCHLEVEL 174 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 |