[ ソース: ruby-enum ]
パッケージ: ruby-enum (0.7.2-3)
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.