From 5de02d64878246eb04ab3654c7fcb8b119a89c46 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Thu, 27 Feb 2025 10:52:21 -0600 Subject: [PATCH] [DOC] Tweaks for Hash#size --- hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hash.c b/hash.c index 0d5f1554a1..17d71c6cfd 100644 --- a/hash.c +++ b/hash.c @@ -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 + * {foo: 0, bar: 1, baz: 2}.size # => 3 * + * Related: see {Methods for Querying}[rdoc-ref:Hash@Methods+for+Querying]. */ VALUE