[1,2,3,4,5].in_groups(2) => [[1,2,3],[4,5]], [1,2,3,4,5].in_groups_of(2) => [[1,2][3,4],[5]], [1,2,3,4,5].in_groups_of(2, nil_fill: true) => [[1,2][3,4],[5,nil]]
Benjamin Zagorski
April 10, 2019 10:56pm
N/A