= private = protected
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 v7.1.3.2:
clear(scope = :all)
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
# File activesupport/lib/active_support/inflector.rb, line 83 def clear(scope = :all) case scope when :all @plurals, @singulars, @uncountables = [], [], [] else instance_variable_set "@#{scope}", [] end end