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: 74,894 of 180,543
Downloads: 10,923

Daily

Ranking: 66,982 of 180,534
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,086,615,891bundler
16857,173,529rake
23769,656,811rspec
63424,085,722pry
1,61813,334,581coveralls

Owners

#GravatarHandle
1iconliqid