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

ruby-changes:5190

From: knu <ko1@a...>
Date: Thu, 29 May 2008 22:51:12 +0900 (JST)
Subject: [ruby-changes:5190] Ruby:r16685 (trunk, ruby_1_8, ruby_1_8_7): Fix a typo.

knu	2008-05-29 22:50:59 +0900 (Thu, 29 May 2008)

  New Revision: 16685

  Modified files:
    branches/ruby_1_8/array.c
    branches/ruby_1_8_7/array.c
    trunk/array.c

  Log:
    Fix a typo.

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=16685&r2=16684&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/array.c?r1=16685&r2=16684&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_7/array.c?r1=16685&r2=16684&diff_format=u

Index: array.c
===================================================================
--- array.c	(revision 16684)
+++ array.c	(revision 16685)
@@ -2751,7 +2751,7 @@
  *     array.count { |item| block }  -> int
  *  
  *  Returns the number of elements which equals to <i>obj</i>.
- *  If a block is given, counts tthe number of elements yielding a true value.
+ *  If a block is given, counts the number of elements yielding a true value.
  *
  *     ary = [1, 2, 4, 2]
  *     ary.count(2)          # => 2
Index: ruby_1_8/array.c
===================================================================
--- ruby_1_8/array.c	(revision 16684)
+++ ruby_1_8/array.c	(revision 16685)
@@ -3068,7 +3068,7 @@
  *     array.count { |item| block }  -> int
  *  
  *  Returns the number of elements which equals to <i>obj</i>.
- *  If a block is given, counts tthe number of elements yielding a true value.
+ *  If a block is given, counts the number of elements yielding a true value.
  *
  *     ary = [1, 2, 4, 2]
  *     ary.count(2)          # => 2
Index: ruby_1_8_7/array.c
===================================================================
--- ruby_1_8_7/array.c	(revision 16684)
+++ ruby_1_8_7/array.c	(revision 16685)
@@ -3068,7 +3068,7 @@
  *     array.count { |item| block }  -> int
  *  
  *  Returns the number of elements which equals to <i>obj</i>.
- *  If a block is given, counts tthe number of elements yielding a true value.
+ *  If a block is given, counts the number of elements yielding a true value.
  *
  *     ary = [1, 2, 4, 2]
  *     ary.count(2)          # => 2

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

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