# File lib/puppet/util/rdoc.rb, line 54 54: def output(file, ast) 55: astobj = [] 56: ast.nodes.each do |name, k| 57: astobj << k if k.file == file 58: end 59: 60: ast.hostclasses.each do |name,k| 61: astobj << k if k.file == file 62: end 63: 64: ast.definitions.each do |name, k| 65: astobj << k if k.file == file 66: end 67: astobj.sort! {|a,b| a.line <=> b.line }.each do |k| 68: output_astnode_doc(k) 69: end 70: end