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:
parent
0fafb83b38
commit
69aa927a40
3
enum.c
3
enum.c
@ -426,6 +426,9 @@ enum_size_over_p(VALUE obj, long n)
|
|||||||
* Returns an array containing all elements of +enum+
|
* Returns an array containing all elements of +enum+
|
||||||
* for which the given +block+ returns a true value.
|
* 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.
|
* If no block is given, an Enumerator is returned instead.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user