From: "prijutme4ty (Ilya Vorontsov)" <prijutme4ty@...> Date: 2012-05-26T13:42:16+09:00 Subject: [ruby-core:45252] [ruby-trunk - Feature #6499][Open] Array::zip Issue #6499 has been reported by prijutme4ty (Ilya Vorontsov). ---------------------------------------- Feature #6499: Array::zip https://bugs.ruby-lang.org/issues/6499 Author: prijutme4ty (Ilya Vorontsov) Status: Open Priority: Normal Assignee: Category: Target version: Sometimes it's more natural to have Array::zip rather than Array#zip. Otherwise first array of list became unnecessary dedicated For example cols = first_row.zip(second_row,third_row,fourth_row) have more natural analog: cols = Array.zip(first_row,second_row,third_row,fourth_row) Implementation is obvious: def Array.zip(first,*rest) first.zip(*rest) end -- http://bugs.ruby-lang.org/