ruby-changes:40387
From: gogotanaka <ko1@a...>
Date: Fri, 6 Nov 2015 23:01:47 +0900 (JST)
Subject: [ruby-changes:40387] gogotanaka:r52468 (trunk): * array.c: clarifies Array#reject! documentation.
gogotanaka 2015-11-06 23:01:30 +0900 (Fri, 06 Nov 2015) New Revision: 52468 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52468 Log: * array.c: clarifies Array#reject! documentation. [fix GH-894][ci skip] Patch by @GxSplinter Modified files: trunk/ChangeLog trunk/array.c Index: array.c =================================================================== --- array.c (revision 52467) +++ array.c (revision 52468) @@ -3201,8 +3201,8 @@ ary_reject_bang(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L3201 * ary.reject! { |item| block } -> ary or nil * ary.reject! -> Enumerator * - * Equivalent to Array#delete_if, deleting elements from +self+ for which the - * block evaluates to +true+, but returns +nil+ if no changes were made. + * Deletes every element of +self+ for which the block evaluates to +true+, + * if no changes were made returns +nil+. * * The array may not be changed instantly every time the block is called. * Index: ChangeLog =================================================================== --- ChangeLog (revision 52467) +++ ChangeLog (revision 52468) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Nov 6 23:13:53 2015 Kazuki Tanaka <gogotanaka@r...> + + * array.c: clarifies Array#reject! documentation. + [fix GH-894][ci skip] Patch by @GxSplinter + Fri Nov 6 20:18:25 2015 SHIBATA Hiroshi <hsbt@r...> * test/runner.rb: extracted test helper. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/