Flowdock
method

irregular

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Inflector::Inflections

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.1.0) is shown here.

These similar methods exist in v4.0.2:

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.