Indicate `find_all` and `select` methods are aliases.

This matches the documentation for `Enumerable::inject` and `Enumerable::reduce` which are also aliases.
This commit is contained in:
Corey Farwell 2017-04-17 17:58:51 -04:00 коммит произвёл 卜部昌平
Родитель 0fafb83b38
Коммит 69aa927a40
1 изменённых файлов: 3 добавлений и 0 удалений

3
enum.c
Просмотреть файл

@ -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.
*
*