# File lib/puppet/metatype/manager.rb, line 99 99: def rmtype(name) 100: # Then create the class. 101: klass = rmclass(name, 102: :hash => @types 103: ) 104: 105: if respond_to?("new" + name.to_s) 106: metaclass.send(:remove_method, "new" + name.to_s) 107: end 108: end