summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2025-03-26 15:15:15 -0500
committerPeter Zhu <[email protected]>2025-03-29 17:04:33 -0400
commit4e3bc65e88f050563a49982ac0a5e57940def161 ()
tree5666ee9688a9bbcbfafa6ae3d5cc3ba6cd3686a9 /hash.c
parenta4a60195502add094fb52a587411bbd0c19facce (diff)
[DOC] Tweaks for Hash#has_value?
Notes: Merged: https://.com/ruby/ruby/pull/12986
-rw-r--r--hash.c5
1 files changed, 3 insertions, 2 deletions
@@ -3890,9 +3890,10 @@ rb_hash_search_value(VALUE key, VALUE value, VALUE arg)
/*
* call-seq:
* has_value?(value) -> true or false
- * value?(value) -> true or false
*
- * Returns +true+ if +value+ is a value in +self+, otherwise +false+.
*/
static VALUE