Flowdock
method

irregular

Importance_1
v1.2.0 - Show latest stable - 0 notes - Class: Inflector::Inflections
irregular(singular, plural) public

Specifies a new irregular that applies to both pluralization and singularization at the same time. This can only be used for strings, not regular expressions. You simply pass the irregular in singular and plural form.

Examples:

  irregular 'octopus', 'octopi'
  irregular 'person', 'people'
Show source
Register or log in to add new notes.