# File lib/puppet/metatype/manager.rb, line 103 103: def rmtype(name) 104: # Then create the class. 105: 106: klass = rmclass( 107: name, 108: 109: :hash => @types 110: ) 111: 112: singleton_class.send(:remove_method, "new#{name}") if respond_to?("new#{name}") 113: end