Method: Puppet::MetaType::Manager#allclear

Defined in:
lib/puppet/metatype/manager.rb

#allclearObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Note:

Only use this method for testing purposes.

An implementation specific method that removes all type instances during testing.


19
20
21
22
23
# File 'lib/puppet/metatype/manager.rb', line 19

def allclear
  @types.each { |_name, type|
    type.clear
  }
end