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: 82,359 of 198,575
Downloads: 12,098

Daily

Ranking: 27,222 of 198,547
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,953,620,340bundler
81,465,647,176rake
291,041,667,060rspec
73649,911,257pry
1,92817,587,677coveralls

Owners

#GravatarHandle
1iconliqid