Ruby::Enum provides enum-like behavior for Ruby. Enums can be defined and accessed either as constants or class methods. WWW: https://github.com/dblock/ruby-enum
5 lines
163 B
Plaintext
5 lines
163 B
Plaintext
Ruby::Enum provides enum-like behavior for Ruby. Enums can be defined and
|
|
accessed either as constants or class methods.
|
|
|
|
WWW: https://github.com/dblock/ruby-enum
|