Categories: None [Edit]

string_enums

https://rubygems.org/gems/string_enums
https://github.com/okl/string_enums
== StringEnum is a concern that makes it easy to work with enums. Include the module, then invoke the class method string_enum with the attribute name followed by the list of valid values. This will add checks, writers, and constants for each value.

Total

Ranking: 113,832 of 186,995
Downloads: 5,991

Daily

Ranking: 146,349 of 186,959
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,169,578,855activesupport

Owners

#GravatarHandle
1icondgp
2icontkummer