RubyGems Navigation menu

string_enums 1.0.0

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.

Gemfile:
=

安裝:
=

版本列表:

  1. 1.0.0 August 19, 2017 (6.5 KB)

Runtime 相依性套件 (1):

activesupport >= 3.0.0

擁有者:

作者:

  • Todd Kummer

SHA 256 總和檢查碼:

=

總下載次數 5,899

這個版本 5,899

版本发布:

授權:

BSD 3-clause

Ruby 版本需求: >= 0

RubyGems 版本需求: >= 1.2.0

相關連結: