class ActiveSupport::Inflector::Inflections
def clear(scope = :all)
clear :all
:humans, :acronyms.
options are: :plurals, :singulars, :uncountables,
:all). Give the scope as a symbol of the inflection type, the
Clears the loaded inflections within a given scope (default is
def clear(scope = :all) case scope when :all clear(:acronyms) clear(:plurals) clear(:singulars) clear(:uncountables) clear(:humans) when :acronyms @acronyms = {} define_acronym_regex_patterns when :uncountables @uncountables = Uncountables.new when :plurals, :singulars, :humans instance_variable_set "@#{scope}", [] end end