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/transpose-i.ri
U:RDoc::AnyMethod[iI"transpose:ETI"Array#transpose;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"KAssumes that +self+ is an array of arrays and transposes the rows and ;TI" columns.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"a = [[1,2], [3,4], [5,6]] ;TI".a.transpose #=> [[1, 3, 5], [2, 4, 6]] ;T:@format0o; ; [I"IIf the length of the subarrays don't match, an IndexError is raised.;T: @fileI"array.c;T:0@omit_headings_from_table_of_contents_below0I"ary.transpose -> new_ary ;T0[ I"();T@FI" Array;TcRDoc::NormalClass00