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: 80,472 of 193,756
Downloads: 11,966

Daily

Ranking: 110,042 of 193,649
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,494,238,297bundler
81,345,947,699rake
29989,540,006rspec
71610,500,117pry
1,91116,771,795coveralls

Owners

#GravatarHandle
1iconliqid