lib/puppet/util/rdoc.rb
# Outputs to the console the documentation
# of a manifest
Outputs to the console the documentation
of a manifest
Outputs to the console the documentation of a manifest
def output(file, ast)
    astobj = []
    ast.instantiate('').each do |resource_type|
      astobj << resource_type if resource_type.file == file
    end
    astobj.sort! {|a,b| a.line <=> b.line }.each do |k|
      output_astnode_doc(k)
    end
  end
def output ( file , ast ) astobj = [ ] ast . instantiate ( '' ) . each do | resource_type | astobj << resource_type if resource_type . file == file end astobj . sort! { | a , b | a . line <=> b . line } . each do | k | output_astnode_doc ( k ) end end
Outputs to the console the documentation
of a manifest
Outputs to the console the documentation of a manifest
file
<not_specific>
ast
<not_specific>