Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
String
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/String/concat-i.ri
U:RDoc::AnyMethod[iI"concat:ETI"String#concat;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HConcatenates the given object(s) to <i>str</i>. If an object is an ;TI"HInteger, it is considered a codepoint and converted to a character ;TI"before concatenation.;To:RDoc::Markup::BlankLine o; ; [I"E+concat+ can take multiple arguments, and all the arguments are ;TI"concatenated in order.;T@o:RDoc::Markup::Verbatim; [I"a = "hello " ;TI"3a.concat("world", 33) #=> "hello world!" ;TI"3a #=> "hello world!" ;TI" ;TI"b = "sn" ;TI"/b.concat("_", b, "_", b) #=> "sn_sn_sn" ;T:@format0o; ; [I"7See also String#<<, which takes a single argument.;T: @fileI" string.c;T:0@omit_headings_from_table_of_contents_below0I"1str.concat(obj1, obj2, ...) -> str ;T0[ I"(*args);T@ FI"String;TcRDoc::NormalClass00