We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2de597 commit 35918dfCopy full SHA for 35918df
string.c
@@ -2772,12 +2772,13 @@ rb_str_empty(VALUE str)
2772
2773
/*
2774
* call-seq:
2775
- * string + other_string -> new_string
+ * self + other_string -> new_string
2776
*
2777
- * Returns a new +String+ containing +other_string+ concatenated to +self+:
+ * Returns a new string containing +other_string+ concatenated to +self+:
2778
2779
- * "Hello from " + self.to_s # => "Hello from main"
+ * 'Hello from ' + self.to_s # => "Hello from main"
2780
2781
+ * Related: see {Methods for Converting to New String}[rdoc-ref:String@Methods+for+Converting+to+New+String].
2782
*/
2783
2784
VALUE
0 commit comments