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.5KB)

Runtime依存関係 (1):

activesupport >= 3.0.0

所有者:

作者:

  • Todd Kummer

SHA 256チェックサム:

=

累計ダウンロード数 5,899

このバージョンのみ 5,899

このバージョンがリリースされたのは:

ライセンス:

BSD 3-clause

必要なRubyのバージョン: >= 0

必要なRubyGemsのバージョン: >= 1.2.0

リンク: