RubyGems Navigation menu

age_group 0.0.3

Built for a healthcare application. A simple gem to set the age category of a user given a date of birth. Given a string representation of date of birth in the format yyyy-mm-dd. e.g; AgeGroup.setAgeCategory(1990-01-01) will return "Young Adult" as their age category. Age Ranges: 0-2 > "Infant", 3-5 > "Young Child", 7-12 > "Child", 13-17 > "Teen", 18-30 > "Young Adult", 31-45 > "Middle Aged", 46-64 > "Mature Adult", 65+ > "Elderly"

Gemfile:
=

instalar:
=

Versões:

  1. 0.0.3 April 10, 2018 (4,5 KB)
  2. 0.0.2 April 10, 2018 (4,5 KB)
  3. 0.0.1 April 10, 2018 (4,5 KB)
  4. 0.0.0 April 10, 2018 (4 KB)

Donos:

Autores:

  • Evan Masterson

SHA 256 checksum:

=

Total de downloads 8.387

Desta versão 2.568

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: