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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.1 - March 19, 2013 (6.5 KB)

Development 依赖 (1):

rspec ~> 2.9

业主:

作者:

  • conanite

SHA 256 校验和:

fba590e7b77fa0ff0bebb5c48a382b08b5cedef67909f89dc9e25d85340b2f98

下载总量 5,079

这个版本 5,079

许可:

需要的 Ruby 版本:

链接: