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,143 of 197,814
Downloads: 12,060

Daily

Ranking: 75,212 of 197,776
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,871,252,601bundler
81,446,323,461rake
291,032,900,231rspec
73643,301,762pry
1,92417,483,249coveralls

Owners

#GravatarHandle
1iconliqid