joelholder.com
Extend Ruby Enumerables With An EachN Processor
Here’s a useful enhancement to arrays that allows you to process elements in a block n at a time. N is inferred by the arity of your block signature. Namaste…