From e41e4bacb1664e4f74e7c00f83e0bc81eee897c6 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Wed, 2 Oct 2024 08:15:25 -0500 Subject: [PATCH] [DOC] Tweaks for Array#inspect (#11743) --- array.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/array.c b/array.c index 6d5762837b..cb6d06cc5f 100644 --- a/array.c +++ b/array.c @@ -2970,14 +2970,15 @@ inspect_ary(VALUE ary, VALUE dummy, int recur) /* * call-seq: - * array.inspect -> new_string + * inspect -> new_string * - * Returns the new String formed by calling method #inspect + * Returns the new string formed by calling method #inspect * on each array element: * * a = [:foo, 'bar', 2] * a.inspect # => "[:foo, \"bar\", 2]" * + * Related: see {Methods for Querying}[rdoc-ref:Array@Methods+for+Querying]. */ static VALUE