Define type-safe enums in Ruby with automatic ordinals, custom values, lookup methods, and Ruby 3.x pattern matching support. A cleaner alternative to ad-hoc constants and symbol sets.

Required Ruby Version

>= 3.1.0

Authors

Philip Rehberger

Versions

  1. 0.5.0 April 22, 2026 (10 KB)
  2. 0.4.0 April 17, 2026 (9.5 KB)
  3. 0.3.0 April 09, 2026 (9.5 KB)
  4. 0.2.0 April 04, 2026 (9 KB)
  5. 0.1.5 March 31, 2026 (8 KB)
Show all versions (10 total)

SHA 256 checksum