Given an array of integers, Array#reduce_ranges will return an array with all consecutive integers converted into ranges.
@jacobaweiss
June 26, 2014 12:58am
MIT