RubyGems Navigation menu

ageism 0.0.1

Given a string such as "4 - 5", "3y 6m - 4y 6m", return a hash with keys :left and :right whose values are each a number of months. Ageism splits on '-', discards all non-numeric characters, and expects either one or two integers on each side of the hyphen. One integer is a year; two integers are year and month.

Gemfile:
=

installieren:
=

Versionen:

  1. 0.0.1 March 19, 2013 (6,5 KB)

Development Abhängigkeiten (1):

rspec ~> 2.9

Besitzer:

Autoren:

  • conanite

SHA 256-Prüfsumme:

=

Downloads insgesamt 5.215

Für diese Version 5.215

Version veröffentlicht:

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: