Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
String
/
//opt/alt/ruby27/share/ri/system/String/concat-i.ri
U:RDoc::AnyMethod[iI"concat:ETI"String#concat;TF:privateo: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