# File lib/extras/as_rectarray.rb, line 20 def flipRows! (@rows/2).times do|i| for j in 0...@cols do a = index(i,j) b = index(@rows - 1 - i,j) temp = @arr[a] @arr[a] = @arr[b] @arr[b] = temp end end end