diff options
author | Corey Farwell <coreyf@rwell.org> | 2017-04-17 17:58:51 -0400 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-12-11 11:15:12 +0900 |
commit | 69aa927a40618591082085fe04c010d516dd50d3 (patch) | |
tree | f70fb9c7ad748436c7ad3e53f874f7707b634814 /enum.c | |
parent | 0fafb83b3878b11de18de7a2d09927842eaf5fb7 (diff) | |
download | ruby-69aa927a40618591082085fe04c010d516dd50d3.tar.gz |
Indicate `find_all` and `select` methods are aliases.
This matches the documentation for `Enumerable::inject` and `Enumerable::reduce` which are also aliases.
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -426,6 +426,9 @@ enum_size_over_p(VALUE obj, long n) * Returns an array containing all elements of +enum+ * for which the given +block+ returns a true value. * + * The <i>find_all</i> and <i>select</i> methods are aliases. + * There is no performance benefit to either. + * * If no block is given, an Enumerator is returned instead. * * |