ruby-changes:22486
From: marcandre <ko1@a...>
Date: Sat, 11 Feb 2012 02:37:38 +0900 (JST)
Subject: [ruby-changes:22486] marcandRe: r34535 (trunk): * array.c: Fix rdoc for Array#select!
marcandre 2012-02-11 02:37:28 +0900 (Sat, 11 Feb 2012) New Revision: 34535 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34535 Log: * array.c: Fix rdoc for Array#select! patched by b t [ruby-core:42478] [Bug #5998] Modified files: trunk/array.c Index: array.c =================================================================== --- array.c (revision 34534) +++ array.c (revision 34535) @@ -2376,7 +2376,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 @@ -4475,7 +4475,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, #product will yield all combinations -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/