From 8dce189078d609340d9a558a1e770a2002a32fa0 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Wed, 26 Feb 2025 10:31:42 -0600 Subject: [PATCH] [DOC] Tweaks for Hash#keys --- hash.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hash.c b/hash.c index ead301da14..79879d706c 100644 --- a/hash.c +++ b/hash.c @@ -3612,9 +3612,12 @@ keys_i(VALUE key, VALUE value, VALUE ary) * call-seq: * keys -> new_array * - * Returns a new Array containing all keys in +self+: + * Returns a new array containing all keys in +self+: + * * h = {foo: 0, bar: 1, baz: 2} * h.keys # => [:foo, :bar, :baz] + * + * Related: see {Methods for Fetching}[rdoc-ref:Hash@Methods+for+Fetching]. */ VALUE