Jungle.Inflexor v0.1.3 Jungle.Inflexor.Inflections View Source

Link to this section Summary

Functions

Returns the plural form of the word in the string

The reverse of pluralize, returns the singular form of a word in a string

Link to this section Functions

Returns the plural form of the word in the string.

Examples

iex> Jungle.Inflexor.pluralize("movie")
"movies"

The reverse of pluralize, returns the singular form of a word in a string.

Examples

iex> Jungle.Inflexor.singularize("quizzes")
"quiz"