どうでもいいが、インデント修正。

array = [1, 'a', 2, 'b', 3, 'c']
result = []
while e = array.shift do
 result << [e, array.shift]
end