summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-10 15:29:00 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-10 15:29:00 +0000
commit644f2eeca5392124264a0839e9f8500d700685c0 (patch)
treec0b36875b6deb7b6aad57f0ff134d76bf660c5d7
parent56db467018fce0d5e23b31565c24fc175281ab08 (diff)
downloadruby-644f2eeca5392124264a0839e9f8500d700685c0.tar.gz
ruby-644f2eeca5392124264a0839e9f8500d700685c0.tar.xz
ruby-644f2eeca5392124264a0839e9f8500d700685c0.zip
* lib/benchmark.rb (Job::Benchmark#item): fix typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--lib/benchmark.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7dd34c004..0f10f16dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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).
diff --git a/lib/benchmark.rb b/lib/benchmark.rb
index 577d07acb..a54700a1c 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