diff options
| author | BurdetteLamar <burdettelamar@yahoo.com> | 2025-03-26 15:15:15 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2025-03-29 17:04:33 -0400 |
| commit | 4e3bc65e88f050563a49982ac0a5e57940def161 (patch) | |
| tree | 5666ee9688a9bbcbfafa6ae3d5cc3ba6cd3686a9 | |
| parent | a4a60195502add094fb52a587411bbd0c19facce (diff) | |
[DOC] Tweaks for Hash#has_value?
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12986
| -rw-r--r-- | hash.c | 5 |
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+. + * Returns whether +value+ is a value in +self+. + * + * Related: {Methods for Querying}[rdoc-ref:Hash@Methods+for+Querying]. */ static VALUE |
