From 35918df740018a510d0f9434e6eca2a2ad533003 Mon Sep 17 00:00:00 2001 From: BurdetteLamar Date: Sat, 3 May 2025 12:39:06 -0500 Subject: [PATCH] [DOC] Tweaks for String#+ --- string.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/string.c b/string.c index d045a2cc2d..094ad88380 100644 --- a/string.c +++ b/string.c @@ -2772,12 +2772,13 @@ rb_str_empty(VALUE str) /* * call-seq: - * string + other_string -> new_string + * self + other_string -> new_string * - * Returns a new +String+ containing +other_string+ concatenated to +self+: + * Returns a new string containing +other_string+ concatenated to +self+: * - * "Hello from " + self.to_s # => "Hello from main" + * 'Hello from ' + self.to_s # => "Hello from main" * + * Related: see {Methods for Converting to New String}[rdoc-ref:String@Methods+for+Converting+to+New+String]. */ VALUE