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