Categories: None [Edit]

ageism

https://rubygems.org/gems/ageism
https://github.com/conanite/ageism
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.

Total

Ranking: 125,033 of 198,547
Downloads: 5,786

Daily

Ranking: 77,123 of 198,526
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
291,041,430,938rspec

Owners

#GravatarHandle
1iconcoralie