aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 04:57:49 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-23 04:57:49 +0000
commit263107242a6ceafdc75583d3e2c0116a1757a550 (patch)
tree84fc1195252659abca661893eed6b0011df2d598 /hash.c
parent7eefcb90f6fc7bcbd70e6751651e93cbba606a75 (diff)
downloadruby-263107242a6ceafdc75583d3e2c0116a1757a550.tar.gz
[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 af094cca90..c9d60c7a56 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?
*/