ruby-enum
A handy way to define enums in Ruby
Enum-like behavior for Ruby. Enums can be defined and accessed either as constants, or class methods, which is a matter of preference. The value is optional. If unspecified, the value will default to the key. Enums support all Enumerable methods.
homepage ↗ github: dblock/ruby-enum
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| vowstar GitHub ↗ | 0.9.0 | 1 | 24 h | details › |