From: "yhara (Yutaka HARA)" Date: 2012-10-25T21:37:17+09:00 Subject: [ruby-core:48278] [ruby-trunk - Feature #5145] Function extension of Array#transpose Issue #5145 has been updated by yhara (Yutaka HARA). Target version changed from 2.0.0 to next minor ---------------------------------------- Feature #5145: Function extension of Array#transpose https://bugs.ruby-lang.org/issues/5145#change-31567 Author: metanest (Makoto Kishimoto) Status: Feedback Priority: Low Assignee: Category: core Target version: next minor Currently, Array#transpose doesn't transpose iliffe vector that size of arrays in array are not same. But iff the sequence of size is monotone nonincreasing, there is natural transposition. [[1, 2, 3], [4, 5], [6]].transpose => [[1, 4, 6], [2, 5], [3]] Attachment is monkey patch implementation by Ruby . -- http://bugs.ruby-lang.org/