Given an array of integers, Array#reduce_ranges will return an array with all consecutive integers converted into ranges.

Required Ruby Version

>= 0

Authors

@jacobaweiss

Versions

  1. 1.0.0 July 14, 2014 (7 KB)
  2. 0.9.0 June 26, 2014 (7 KB)

SHA 256 checksum