Flowdock
pluralize(word) public

Returns the plural form of the word in the string.

Examples:

  "post".pluralize             # => "posts"
  "octopus".pluralize          # => "octopi"
  "sheep".pluralize            # => "sheep"
  "words".pluralize            # => "words"
  "CamelOctopus".pluralize     # => "CamelOctopi"
Show source
Register or log in to add new notes.