Provides a lightweight solution for object-oriented enumerations in Ruby in a similar ways as other languages, like Java, do. It consists of a single class (Enum), that can be subclassed to create enumerated types. Each class has a set of predefined instances, that represent the enumerated values. Fatures like support for inheritance and declaring instance methods on enumerated values are supported as well.

Required Ruby Version

~> 2.0

Authors

Michele Piccirillo

Versions

  1. 0.1.2 April 19, 2017 (11.5 KB)
  2. 0.1.1 April 19, 2017 (11 KB)
  3. 0.1.0 April 19, 2017 (10.5 KB)

SHA 256 checksum