From 69aa927a40618591082085fe04c010d516dd50d3 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Mon, 17 Apr 2017 17:58:51 -0400 Subject: Indicate `find_all` and `select` methods are aliases. This matches the documentation for `Enumerable::inject` and `Enumerable::reduce` which are also aliases. --- enum.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'enum.c') diff --git a/enum.c b/enum.c index 7606e58b43..89148e9326 100644 --- a/enum.c +++ b/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 find_all and select methods are aliases. + * There is no performance benefit to either. + * * If no block is given, an Enumerator is returned instead. * * -- cgit v1.2.3