summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--array.c1
-rw-r--r--hash.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/array.c b/array.c
index 0b0ed3d..701f0fc 100644
--- a/array.c
+++ b/array.c
@@ -5784,6 +5784,7 @@ rb_ary_drop_while(VALUE ary)
/*
* call-seq:
* ary.any? [{ |obj| block }] -> true or false
+ * any.any?(pattern) -> true or false
*
* See also Enumerable#any?
*/
diff --git a/hash.c b/hash.c
index af094cc..c9d60c7 100644
--- a/hash.c
+++ b/hash.c
@@ -3016,6 +3016,7 @@ any_p_i_pattern(VALUE key, VALUE value, VALUE arg)
/*
* call-seq:
* hsh.any? [{ |(key, value)| block }] -> true or false
+ * hsh.any?(pattern) -> true or false
*
* See also Enumerable#any?
*/