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: 76,119 of 183,477
Downloads: 11,241

Daily

Ranking: 63,432 of 183,470
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,456,134,847bundler
10969,073,546rake
25825,073,950rspec
69473,435,718pry
1,72514,122,132coveralls

Owners

#GravatarHandle
1iconliqid