Add the following code to your project's shard.yml under:
to use in production
- OR -
development_dependencies to use in development
Wordsmith is a library for pluralizing, ordinalizing, singularizing and doing other fun and useful things with words.
Add this to your application's
dependencies: wordsmith: github: luckyframework/wordsmith version: ~> 0.2
require "wordsmith" Wordsmith::Inflector.pluralize("word") # "words" Wordsmith::Inflector.singularize("categories") # "category"
To run the tests: