[ ソース: ruby-enum ]
パッケージ: ruby-enum (0.9.0 ds-1)
Enum-like behavior for Ruby
Enums can be defined and accessed either as constants or class methods.
All Enumerable methods and hash-like methods are supported.
Enums can be defined and accessed either as constants or class methods.
All Enumerable methods and hash-like methods are supported.