Re: "Unflattening" arrays


#1

[[1,2],[3,4],[5,6],[7,9]] or [[1,2,3,4],[5,6,7,8]] depending
on a parameter?

Farrel

See Enumerable#partition

Regards,

Dan