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: 77,797 of 186,959
Downloads: 11,451

Daily

Ranking: 131,144 of 186,713
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,905,736,219bundler
101,128,098,871rake
27909,387,510rspec
71542,757,863pry
1,79515,707,523coveralls

Owners

#GravatarHandle
1iconliqid