From b600ceb898434c80fa7e847e56ce9fe5503a72c8 Mon Sep 17 00:00:00 2001 From: ayumin Date: Sun, 4 Jan 2015 03:45:24 +0000 Subject: * array.c: improve docs for Array#reject. [ruby-core:65324][misc #10307] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ array.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0cb37d6696..a92fc73494 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 4 12:42:24 2015 Ayumu AIZAWA + + * array.c: improve docs for Array#reject. [ruby-core:65324][misc #10307] + Pached by Nebu Pookins. + Sun Jan 4 12:24:11 2015 Ayumu AIZAWA * string.c: improve docs for String#strip and variations. diff --git a/array.c b/array.c index 08958aeb65..00d2a7f6a8 100644 --- a/array.c +++ b/array.c @@ -3150,7 +3150,7 @@ rb_ary_reject_bang(VALUE ary) * ary.reject -> Enumerator * * Returns a new array containing the items in +self+ for which the given - * block is not +true+. + * block is not +true+. The ordering of non-rejected elements is maintained. * * See also Array#delete_if * -- cgit v1.2.3