Method: Generators::HTMLPuppetPlugin#initialize

Defined in:
lib/puppet/util/rdoc/generators/puppet_generator.rb

#initialize(context, html_file, prefix, options) ⇒ HTMLPuppetPlugin



701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
# File 'lib/puppet/util/rdoc/generators/puppet_generator.rb', line 701

def initialize(context, html_file, prefix, options)
  super(context, options)

  @html_file = html_file
  @is_module = false
  @values    = {}

  context.viewer = self

  if options.all_one_file
    @path = context.full_name
  else
    @path = http_url(context.full_name, prefix)
  end

  AllReferences.add("PLUGIN(#{@context.full_name})", self)
end