ClickGems by ClickHouse
--
to
--

reduce_ranges

Authors: @jacobaweiss
License: MIT
Summary: Given an array of integers, Array#reduce_ranges will return an array with all consecutive integers converted into ranges.

Can't find the visual you need? Build your own here

Download

7

last day

48

last month

6.4K

total

Version

All

version

1.0.0reduce_ranges

latest version

RubyGem Downloads Over Time

loading-iconLoading

Top RubyGem Versions

loading-iconLoading

Downloads by Ruby Version Over Time

loading-iconLoading

Downloads by System Over Time

loading-iconLoading

RubyGem Downloads by Country

loading-iconLoading
© 2026 ClickHouse, Inc. HQ in the Bay Area, CA and Amsterdam, NL.