method

clear

rails latest stable - 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.

clear(scope = :all)
public

Clears the loaded inflections within a given scope (default is :all). Give the scope as a symbol of the inflection type, the options are: :plurals, :singulars, :uncountables.

Examples:

  clear :all
  clear :plurals