Categories: None [Edit]

enum_class

https://rubygems.org/gems/enum_class
https://github.com/LIQIDTechnology/enum_class
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.

Total

Ranking: 78,205 of 187,239
Downloads: 11,630

Daily

Ranking: 78,093 of 187,224
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,973,208,875bundler
101,151,901,046rake
27919,404,019rspec
73551,545,498pry
1,81015,786,188coveralls

Owners

#GravatarHandle
1iconliqid