Groups consecutive monotonic sequences in arrays into ranges. Supports any Comparable type with succ method.
Required Ruby Version
>= 2.5.0
Authors
Roman Hajdarov
Groups consecutive monotonic sequences in arrays into ranges. Supports any Comparable type with succ method.
>= 2.5.0
Roman Hajdarov