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: 116,247 of 190,317
Downloads: 6,154

Daily

Ranking: 98,986 of 190,280
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
71,293,977,679activesupport

Owners

#GravatarHandle
1icondgp
2icontkummer