# File lib/puppet/util/rdoc.rb, line 82 82: def output_resource_doc(code) 83: code.sort { |a,b| a.line <=> b.line }.each do |stmt| 84: output_resource_doc(stmt.children) if stmt.is_a?(Puppet::Parser::AST::ASTArray) 85: 86: if stmt.is_a?(Puppet::Parser::AST::Resource) 87: puts stmt.doc if !stmt.doc.nil? and !stmt.doc.empty? 88: end 89: end 90: end