summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 04:57:49 (GMT)
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 04:57:49 (GMT)
commitd62b7e133e2de4807790e2cbe93f8a8481f45e37 (patch)
tree84fc1195252659abca661893eed6b0011df2d598 /hash.c
parentc7ab4f6dcb8473612226704b8a6060020145d159 (diff)
[DOC] Add call signature for {Array,Hash}#any?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c1
1 files changed, 1 insertions, 0 deletions
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?
*/