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
/
Array
/
//proc/thread-self/root/proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/Array/replace-i.ri
U:RDoc::AnyMethod[iI"replace:ETI"Array#replace;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GReplaces the contents of +self+ with the contents of +other_ary+, ;TI"*truncating or expanding if necessary.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"%a = [ "a", "b", "c", "d", "e" ] ;TI"8a.replace([ "x", "y", "z" ]) #=> ["x", "y", "z"] ;TI"7a #=> ["x", "y", "z"];T:@format0: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"#ary.replace(other_ary) -> ary;T0[ I" (p1);T@FI" Array;TcRDoc::NormalClass00