[前][次][番号順一覧][スレッド一覧]

ruby-changes:3936

From: ko1@a...
Date: Mon, 11 Feb 2008 00:29:15 +0900 (JST)
Subject: [ruby-changes:3936] naruse - Ruby:r15426 (trunk): * lib/benchmark.rb (Job::Benchmark#item): fix typo.

naruse	2008-02-11 00:29:00 +0900 (Mon, 11 Feb 2008)

  New Revision: 15426

  Modified files:
    trunk/ChangeLog
    trunk/lib/benchmark.rb

  Log:
    * lib/benchmark.rb (Job::Benchmark#item): fix typo.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15426&r2=15425&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/benchmark.rb?r1=15426&r2=15425&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 15425)
+++ ChangeLog	(revision 15426)
@@ -1,3 +1,7 @@
+Mon Feb 11 00:18:57 2008  NARUSE, Yui  <naruse@r...>
+
+	* lib/benchmark.rb (Job::Benchmark#item): fix typo.
+
 Sun Feb 10 21:58:32 2008  NARUSE, Yui  <naruse@r...>
 
 	* common.mk (encdb, transdb): depend on $(PREP).
Index: lib/benchmark.rb
===================================================================
--- lib/benchmark.rb	(revision 15425)
+++ lib/benchmark.rb	(revision 15426)
@@ -333,7 +333,7 @@
     # 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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]