summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2025-02-22 10:38:27 -0600
committerPeter Zhu <[email protected]>2025-02-24 19:27:41 -0500
commit8749a131cee87434b717cad6a0960443ae66d773 ()
treec9c2804f0ed8ba6a1e3e43ca5004f22afe231375 /hash.c
parent0615df2a844280b5d0a988e10b2c8d0af7e27b89 (diff)
[DOC] Tweaks for Hash#include?
Notes: Merged: https://.com/ruby/ruby/pull/12797
-rw-r--r--hash.c11
1 files changed, 7 insertions, 4 deletions
@@ -3693,11 +3693,14 @@ rb_hash_values(VALUE hash)
/*
* call-seq:
* include?(key) -> true or false
- * has_key?(key) -> true or false
- * key?(key) -> true or false
- * member?(key) -> true or false
*
- * Returns +true+ if +key+ is a key in +self+, otherwise +false+.
*/
VALUE