summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2025-02-27 10:52:21 -0600
committerPeter Zhu <[email protected]>2025-03-04 09:22:19 -0500
commit5de02d64878246eb04ab3654c7fcb8b119a89c46 ()
tree3b138112879728bdeb8926447f6919cff331970d /hash.c
parentce66eea167847d4300150791bde4932b907b0cc0 (diff)
[DOC] Tweaks for Hash#size
Notes: Merged: https://.com/ruby/ruby/pull/12824
-rw-r--r--hash.c4
1 files changed, 2 insertions, 2 deletions
@@ -3007,13 +3007,13 @@ rb_hash_replace(VALUE hash, VALUE hash2)
/*
* call-seq:
- * length -> integer
* size -> integer
*
* Returns the count of entries in +self+:
*
- * {foo: 0, bar: 1, baz: 2}.length # => 3
*
*/
VALUE