# File lib/puppet/util/instance_loader.rb, line 15 15: def instance_load(type, path, options = {}) 16: @autoloaders ||= {} 17: @instances ||= {} 18: type = symbolize(type) 19: @instances[type] = {} 20: @autoloaders[type] = Puppet::Util::Autoload.new(self, path, options) 21: 22: # Now define our new simple methods 23: unless respond_to?(type) 24: meta_def(type) do |name| 25: loaded_instance(type, name) 26: end 27: end 28: end