Given an array of integers, Array#reduce_ranges will return an array with all consecutive integers converted into ranges.
>= 0
@jacobaweiss