module Cadmium::CountInflector
Overview
Inflects a number by adding a suffix onto the end of it.
100.to_nth
# => "100th"
73.to_nth
# => "73rd"
1221.to_nth
"1221st"
Extended Modules
Defined in:
cadmium/inflector/count_inflector.crInstance Method Summary
-
#nth(i)
Returns a number in it's "nth" form