March 28, 2013

I don’t like pulling in all of ActiveSupport when all I need to do is pluralize some text. So I pulled out the relevant bits of ActiveSupport into a gem called plural.

How It’s Used

# => "posts"

# => "octopi"

# => "sheep"

# => "words"

#=> "CamelOctopi"

What It Supports

Plural supports Rubies with 1.9 syntax, and is tested on the following:

Tell Me More

You can grab it from rubygems or check out more about it on github.