* array.c: clarifies Array#reject! documentation.
[fix GH-894][ci skip] Patch by @GxSplinter git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6fe4187ed6
commit
0765fcf833
@ -1,3 +1,8 @@
|
|||||||
|
Fri Nov 6 23:13:53 2015 Kazuki Tanaka <gogotanaka@ruby-lang.org>
|
||||||
|
|
||||||
|
* array.c: clarifies Array#reject! documentation.
|
||||||
|
[fix GH-894][ci skip] Patch by @GxSplinter
|
||||||
|
|
||||||
Fri Nov 6 20:18:25 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
Fri Nov 6 20:18:25 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
|
||||||
|
|
||||||
* test/runner.rb: extracted test helper.
|
* test/runner.rb: extracted test helper.
|
||||||
|
4
array.c
4
array.c
@ -3201,8 +3201,8 @@ ary_reject_bang(VALUE ary)
|
|||||||
* ary.reject! { |item| block } -> ary or nil
|
* ary.reject! { |item| block } -> ary or nil
|
||||||
* ary.reject! -> Enumerator
|
* ary.reject! -> Enumerator
|
||||||
*
|
*
|
||||||
* Equivalent to Array#delete_if, deleting elements from +self+ for which the
|
* Deletes every element of +self+ for which the block evaluates to +true+,
|
||||||
* block evaluates to +true+, but returns +nil+ if no changes were made.
|
* if no changes were made returns +nil+.
|
||||||
*
|
*
|
||||||
* The array may not be changed instantly every time the block is called.
|
* The array may not be changed instantly every time the block is called.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user