ruby-changes:51519
From: ktsj <ko1@a...>
Date: Sat, 23 Jun 2018 13:57:53 +0900 (JST)
Subject: [ruby-changes:51519] ktsj:r63729 (trunk): [DOC] Add call signature for {Array, Hash}#any?
ktsj 2018-06-23 13:57:49 +0900 (Sat, 23 Jun 2018) New Revision: 63729 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63729 Log: [DOC] Add call signature for {Array,Hash}#any? Modified files: trunk/array.c trunk/hash.c Index: hash.c =================================================================== --- hash.c (revision 63728) +++ hash.c (revision 63729) @@ -3016,6 +3016,7 @@ any_p_i_pattern(VALUE key, VALUE value, https://github.com/ruby/ruby/blob/trunk/hash.c#L3016 /* * call-seq: * hsh.any? [{ |(key, value)| block }] -> true or false + * hsh.any?(pattern) -> true or false * * See also Enumerable#any? */ Index: array.c =================================================================== --- array.c (revision 63728) +++ array.c (revision 63729) @@ -5784,6 +5784,7 @@ rb_ary_drop_while(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L5784 /* * call-seq: * ary.any? [{ |obj| block }] -> true or false + * any.any?(pattern) -> true or false * * See also Enumerable#any? */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/