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: 78,628 of 187,988
Downloads: 11,705

Daily

Ranking: 46,260 of 187,967
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,048,429,741bundler
101,178,455,784rake
29930,679,140rspec
74560,845,072pry
1,83715,889,870coveralls

Owners

#GravatarHandle
1iconliqid