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

ruby-changes:22488

From: marcandre <ko1@a...>
Date: Sat, 11 Feb 2012 02:46:12 +0900 (JST)
Subject: [ruby-changes:22488] marcandRe: r34537 (ruby_1_9_3): merge revision(s) 34535:

marcandre	2012-02-11 02:46:03 +0900 (Sat, 11 Feb 2012)

  New Revision: 34537

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

  Log:
    merge revision(s) 34535:
    
            * array.c: Fix rdoc for Array#select!
              patched by b t [ruby-core:42478] [Bug #5998]

  Modified files:
    branches/ruby_1_9_3/array.c

Index: ruby_1_9_3/array.c
===================================================================
--- ruby_1_9_3/array.c	(revision 34536)
+++ ruby_1_9_3/array.c	(revision 34537)
@@ -2339,7 +2339,7 @@
 
 /*
  *  call-seq:
- *     ary.select! {|item| block } -> new_ary or nil
+ *     ary.select! {|item| block } -> ary or nil
  *     ary.select!                 -> an_enumerator
  *
  *  Invokes the block passing in successive elements from
@@ -4424,7 +4424,7 @@
  *     ary.product(other_ary, ...)                -> new_ary
  *     ary.product(other_ary, ...) { |p| block }  -> ary
  *
- *  Returns an array of all combinations of elements from all arrays,
+ *  Returns an array of all combinations of elements from all arrays.
  *  The length of the returned array is the product of the length
  *  of +self+ and the argument arrays.
  *  If given a block, <i>product</i> will yield all combinations

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

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