# File lib/puppet/util/autoload.rb, line 51
51:   def initialize(obj, path, options = {})
52:     @path = path.to_s
53:     raise ArgumentError, "Autoload paths cannot be fully qualified" if @path !~ /^\w/
54:     @object = obj
55: 
56:     self.class[obj] = self
57: 
58:     options.each do |opt, value|
59:       opt = opt.intern if opt.is_a? String
60:       begin
61:         self.send(opt.to_s + "=", value)
62:       rescue NoMethodError
63:         raise ArgumentError, "#{opt} is not a valid option"
64:       end
65:     end
66: 
67:     @wrap = true unless defined?(@wrap)
68:   end