#transpose
When called on an a 2D-array, transpose changes the columns to rows.
a = [[1,2], [3,4], [5,6]]
a.transpose
#=> [[1, 3, 5], [2, 4, 6]]
Extra: Access a column by selecting the value at each index you specify.
each {|x| x.values_at(0)}