Follow mekdigital on Twitter

walking through enumerables

 

The Ruby alternative to ActiveSupport's in_groups_of(n) is each_slice(n)I had to write this as I always need to spend some minutes in sDoc looking for the Ruby method. 

 

published on 12 Aug

Comments (0)

Leave a comment...