Skip to content
Ordinalize your numbers (like humanize) http://ryanbigg.com
Ruby
Find file
Latest commit 71f2cad @radar Add LICENSE
Failed to load latest commit information.
lib Rename split to split_dashes to make room for split_spaces so numbers…
spec
.document
.gitignore
LICENSE.md
README.markdown
Rakefile
VERSION Version bump to 0.0.3
ordinalize.gemspec

README.markdown

Ordinali(z|s)e

From the creator who brought you the wildly popular humanize, comes ordinali(s|z)e!

Install

sudo gem install ordinalize

Usage

>> 1.ordinalize
=> "first"

>> 1024.ordinalize
=> "one thousand and twenty-fourth"

>> 1.ordinalise
=> "first"
Something went wrong with that request. Please try again.