The Transpose Method, Explained.

written in arrays, methods, ruby, transpose

The transpose method is a handy-dandy little method for rotating arrays on to their sides. Since a picture is worth a thousand words, here’s a gif explaining how transpose works: