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
/
Array
/
//opt/alt/ruby27/share/ri/system/Array/join-i.ri
U:RDoc::AnyMethod[iI" join:ETI"Array#join;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [ I"IReturns a string created by converting each element of the array to ;TI"3a string, separated by the given +separator+. ;TI"CIf the +separator+ is +nil+, it uses current <code>$,</code>. ;TI"<If both the +separator+ and <code>$,</code> are +nil+, ;TI"it uses an empty string.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"-[ "a", "b", "c" ].join #=> "abc" ;TI"/[ "a", "b", "c" ].join("-") #=> "a-b-c" ;T:@format0o; ; [I"4For nested arrays, join is applied recursively:;T@o;; [I"A[ "a", [1, 2, [:x, :y]], "b" ].join("-") #=> "a-1-2-x-y-b";T; 0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"&ary.join(separator=$,) -> str ;T0[ I"(*args);T@FI" Array;TcRDoc::NormalClass00