Method: Puppet::MetaType::Manager#typeloader
- Defined in:
- lib/puppet/metatype/manager.rb
#typeloader ⇒ Puppet::Util::Autoload
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.
Creates a loader for Puppet types. Defaults to an instance of Util::Autoload if no other auto loader has been set.
190 191 192 193 194 195 196 |
# File 'lib/puppet/metatype/manager.rb', line 190 def typeloader unless defined?(@typeloader) @typeloader = Puppet::Util::Autoload.new(self, "puppet/type") end @typeloader end |