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, :humans.
clear :all
clear :plurals
   
  
    Show source    
    
      
      def clear(scope = :all)
        case scope
        when :all
          @plurals, @singulars, @uncountables, @humans = [], [], Uncountables.new, []
        else
          instance_variable_set "@#{scope}", []
        end
      end