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: 81,343 of 196,125
Downloads: 12,026

Daily

Ranking: 49,580 of 196,106
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,667,363,143bundler
81,394,381,169rake
291,010,713,264rspec
72626,842,466pry
1,91317,181,528coveralls

Owners

#GravatarHandle
1iconliqid