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

ruby-changes:13351

From: akr <ko1@a...>
Date: Sun, 27 Sep 2009 10:58:17 +0900 (JST)
Subject: [ruby-changes:13351] Ruby:r25117 (trunk): fix rdoc.

akr	2009-09-27 10:58:07 +0900 (Sun, 27 Sep 2009)

  New Revision: 25117

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25117

  Log:
    fix rdoc.

  Modified files:
    trunk/enum.c

Index: enum.c
===================================================================
--- enum.c	(revision 25116)
+++ enum.c	(revision 25117)
@@ -681,7 +681,7 @@
  *  +1 depending on the comparison between <i>a</i> and <i>b</i>. As of
  *  Ruby 1.8, the method <code>Enumerable#sort_by</code> implements a
  *  built-in Schwartzian Transform, useful when key computation or
- *  comparison is expensive..
+ *  comparison is expensive.
  *
  *     %w(rhea kea flea).sort         #=> ["flea", "kea", "rhea"]
  *     (1..10).sort {|a,b| b <=> a}   #=> [10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
@@ -2067,7 +2067,7 @@
  *  _initial_state_ argument can be used.
  *  If non-nil value is given,
  *  it is duplicated for each "each" method invocation of the enumerator.
- *  The duplicated object is passed to 2nd argument of the block for "chunk" method..
+ *  The duplicated object is passed to 2nd argument of the block for "chunk" method.
  *
  */
 static VALUE

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

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