Flowdock
method

pluralize

Importance_1
v2.0.3 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::String::Inflections
pluralize() public

Returns the plural form of the word in the string.

Examples

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