# class Generators::HTMLPuppetModule

### Public Class Methods

new(context, html_file, prefix, options) click to toggle source
Calls superclass method

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 650
    def initialize(context, html_file, prefix, options)
      super(context, html_file, prefix, options)
    end

### Public Instance Methods

build_facts_summary_list() click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 685
    def build_facts_summary_list
      potentially_referenced_list(context.facts) {|fn| ["PLUGIN(#{fn})"] }
    end

build_nodes_list(level, context) click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 669
    def build_nodes_list(level, context)
      res = ""
      prefix = "&nbsp;&nbsp;::" * level;

      context.nodes.sort.each do |node|
        if node.document_self
          res <<
          prefix <<
          "Node " <<
          href(url(node.viewer.path), "link", node.full_name) <<
          "<br />\n"
        end
      end
      res
    end

build_plugins_summary_list() click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 689
    def build_plugins_summary_list
      potentially_referenced_list(context.plugins) {|fn| ["PLUGIN(#{fn})"] }
    end

facts() click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 693
    def facts
      @context.facts
    end

plugins() click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 697
    def plugins
      @context.plugins
    end

value_hash() click to toggle source
Calls superclass method

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 654
    def value_hash
      @values = super

      fl = build_facts_summary_list
      @values["facts"] = fl unless fl.empty?

      pl = build_plugins_summary_list
      @values["plugins"] = pl unless pl.empty?

      nl = build_nodes_list(0, @context)
      @values["nodelist"] = nl unless nl.empty?

      @values
    end