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: 75,965 of 183,127
Downloads: 11,205

Daily

Ranking: 33,946 of 183,106
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,409,222,051bundler
10954,475,095rake
25818,160,872rspec
68467,204,181pry
1,70614,091,787coveralls

Owners

#GravatarHandle
1iconliqid