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+. */