summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authorgogotanaka <gogotanaka@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-06 14:01:30 (GMT)
committergogotanaka <gogotanaka@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-06 14:01:30 (GMT)
commit0765fcf8334b574ddf4d94c8be61797dab195dc4 (patch)
treea31cef83614a27dc1e542bfec4d8697042a62964 /array.c
parent6fe4187ed625b2fb885a6e980b355f877f195f70 (diff)
* 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
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index eac927d..56f7664 100644
--- a/array.c
+++ b/array.c
@@ -3201,8 +3201,8 @@ ary_reject_bang(VALUE ary)
* 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.
*