ruby-changes:65866
From: Kenichi <ko1@a...>
Date: Thu, 15 Apr 2021 11:14:55 +0900 (JST)
Subject: [ruby-changes:65866] 92545977de (master): [Doc] Add Hash#value? into call-seq (#4293)
https://git.ruby-lang.org/ruby.git/commit/?id=92545977de From 92545977de0664bd2f37455dd4c4ac4e716a8be2 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya <kachick1@g...> Date: Thu, 15 Apr 2021 11:14:43 +0900 Subject: [Doc] Add Hash#value? into call-seq (#4293) --- hash.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hash.c b/hash.c index 60fad03..1498f30 100644 --- a/hash.c +++ b/hash.c @@ -3669,6 +3669,9 @@ rb_hash_search_value(VALUE key, VALUE value, VALUE arg) https://github.com/ruby/ruby/blob/trunk/hash.c#L3669 /* * call-seq: * hash.has_value?(value) -> true or false + * hash.value?(value) -> true or false + * + * Method #value? is an alias for \#has_value?. * * Returns +true+ if +value+ is a value in +self+, otherwise +false+. */ -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/