Categories: None [Edit]
human_numbers
human_numbers defines the method #to_english on the classes Float and
Integer, as well as the method #to_french on the Integer class, for
converting numbers to natural language strings. By default, a cardinal
number will be returned (one, two, three), but supplying an :ordinal
argument will cause it to return an ordinal (first, second, third). It
works with numbers whose absolute value is less than 10^33. #to_french
supports a second argument for specifying the gender of the word,
which can be either :masculine or :feminine.
Total
Ranking: 94,368 of 192,692
Downloads: 9,125
Daily
Ranking: 37,015 of 192,666
Downloads: 16
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 99 | 464,953,038 | simplecov |
| 967 | 50,894,457 | minitest-reporters |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | kybp |