Forum: Ruby Re: "Unflattening" arrays

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Berger, Daniel (Guest)
on 2006-03-28 00:06
(Received via mailing list)
> [[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


This topic is locked and can not be replied to.