# class Generators::HTMLPuppetClass

### Public Instance Methods

build_child_list(context) click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 448
    def build_child_list(context)
      build_referenced_list(context.childs)
    end

build_realize_list(context) click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 444
    def build_realize_list(context)
      build_referenced_list(context.realizes)
    end

build_require_list(context) click to toggle source

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 440
    def build_require_list(context)
      build_referenced_list(context.requires)
    end

value_hash() click to toggle source
Calls superclass method

    # File lib/puppet/util/rdoc/generators/puppet_generator.rb, line 413
    def value_hash
      super
      rl = build_resource_summary_list
      @values["resources"] = rl unless rl.empty?

      @context.sections.each do |section|
        secdata = @values["sections"].select { |secdata| secdata["secsequence"] == section.sequence }
        if secdata.size == 1
          secdata = secdata[0]

          rdl = build_resource_detail_list(section)
          secdata["resource_list"] = rdl unless rdl.empty?
        end
      end

      rl = build_require_list(@context)
      @values["requires"] = rl unless rl.empty?

      rl = build_realize_list(@context)
      @values["realizes"] = rl unless rl.empty?

      cl = build_child_list(@context)
      @values["childs"] = cl unless cl.empty?

      @values
    end