From: Burdette Lamar Date: Wed, 2 Oct 2024 13:15:25 +0000 (-0500) Subject: [DOC] Tweaks for Array#inspect (#11743) X-Git-Tag: v3_4_0_preview2~102 X-Git-Url: https://repo.or.cz/ruby.git/commitdiff_plain/e41e4bacb1664e4f74e7c00f83e0bc81eee897c6 [DOC] Tweaks for Array#inspect (#11743) --- 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