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

ruby-changes:3935

From: ko1@a...
Date: Mon, 11 Feb 2008 00:25:07 +0900 (JST)
Subject: [ruby-changes:3935] naruse - Ruby:r15425 (ruby_1_8): * lib/benchmark.rb (Job::Benchmark#item): fix typo.

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

  New Revision: 15425

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/lib/benchmark.rb

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

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

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 15424)
+++ ruby_1_8/ChangeLog	(revision 15425)
@@ -1,3 +1,7 @@
+Mon Feb 11 00:22:55 2008  NARUSE, Yui  <naruse@r...>
+
+	* lib/benchmark.rb (Job::Benchmark#item): fix typo.
+
 Sat Feb  9 23:22:52 2008  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/bigdecimal/extconf.rb: simplified the condition.
Index: ruby_1_8/lib/benchmark.rb
===================================================================
--- ruby_1_8/lib/benchmark.rb	(revision 15424)
+++ ruby_1_8/lib/benchmark.rb	(revision 15425)
@@ -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/

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