Rangeable is a language-neutral, generic, integer-coordinate closed-interval set container. It pairs hashable elements with their merged disjoint integer ranges and answers three queries: by-element ranges, by-position active set, and by-range transition events. The Ruby reference implementation follows the Rangeable RFC normatively, including idempotent containment fast-path, lazy boundary-event indexing, and first-insert deterministic ordering.
Required Ruby Version
>= 3.2
Authors
ZhgChgLi
Versions
-
2.0.0
-
source
- 2.0.0 source May 10, 2026 (19 KB)
-
-
1.0.0
-
source
- 1.0.0 source May 09, 2026 (14.5 KB)
-