From 92545977de0664bd2f37455dd4c4ac4e716a8be2 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Thu, 15 Apr 2021 11:14:43 +0900 Subject: [PATCH] [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 60fad036c2..1498f30f5a 100644 --- a/hash.c +++ b/hash.c @@ -3669,6 +3669,9 @@ rb_hash_search_value(VALUE key, VALUE value, VALUE arg) /* * 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+. */