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,806 of 188,339
Downloads: 11,747

Daily

Ranking: 60,961 of 188,315
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,087,820,008bundler
101,191,537,815rake
29936,556,175rspec
74565,610,210pry
1,84615,941,752coveralls

Owners

#GravatarHandle
1iconliqid