# File lib/puppet/module/tool/contents_description.rb, line 62
    def attr_doc(type, kind)
      returning([]) do |attrs|
        type.allattrs.each do |name|
          if type.attrtype(name) == kind && name != :provider
            attrs.push(:name => name, :doc => type.attrclass(name).doc)
          end
        end
      end
    end