mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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
This commit is contained in:
parent
c7ab4f6dcb
commit
d62b7e133e
2 changed files with 2 additions and 0 deletions
1
array.c
1
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?
|
||||
*/
|
||||
|
|
1
hash.c
1
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?
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue