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,934 of 197,085
Downloads: 12,047

Daily

Ranking: 87,723 of 197,066
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,796,160,121bundler
81,428,256,062rake
291,025,379,194rspec
72637,492,173pry
1,91717,418,617coveralls

Owners

#GravatarHandle
1iconliqid