# File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 388
388:         def initialize(context, html_file, prefix, options)
389:             super(context, options)
390: 
391:             @html_file = html_file
392:             @is_module = context.is_module?
393:             @values    = {}
394: 
395:             context.viewer = self
396: 
397:             if options.all_one_file
398:                 @path = context.full_name
399:             else
400:                 @path = http_url(context.full_name, prefix)
401:             end
402: 
403:             AllReferences.add("NODE(#{@context.full_name})", self)
404:         end