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: 79,917 of 192,137
Downloads: 11,883

Daily

Ranking: 123,214 of 192,103
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,342,103,677bundler
81,292,456,495rake
29970,934,436rspec
73594,924,422pry
1,89516,421,605coveralls

Owners

#GravatarHandle
1iconliqid