Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ordinalize your numbers (like humanize)
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.document
.gitignore
LICENSE.md
README.markdown
Rakefile
VERSION
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.