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

  1. 2.0.0 May 10, 2026 (19 KB)
  2. 1.0.0 May 09, 2026 (14.5 KB)

Pushed by

SHA 256 checksum