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:
=

installation:
=

Versions:

  1. 1.0.0 August 19, 2017 (6,5 ko)

Dépendances de Runtime (1):

activesupport >= 3.0.0

Propriétaires:

Auteurs:

  • Todd Kummer

Total de contrôle SHA 256:

=

Total de téléchargements 5 899

Pour cette version 5 899

Version publiée:

License:

BSD 3-clause

Version de Ruby requise: >= 0

Required Rubygems Version: >= 1.2.0

Liens: