From: Chris Blair Date: 2006-11-16T17:35:38+09:00 Subject: Re: Splitting an array into quads and putting them back together again. I don't mean to reply to myself, but I just realized that the way I was rotating the array wasn't correct. But, I got it figured out, so here it is: class Array # Returns a rotated( once, clockwise ) array derived from self def rotate() self.transpose.map{ |a| a.reverse } end end I know, it's simple, but it might be useful.