PuppetResource holds a puppet resource It is mapped to a HTMLPuppetResource for display A resource is defined by its “normal” form Type
# File lib/puppet/util/rdoc/code_objects.rb, line 316 def <=>(other) full_name <=> other.full_name end
# File lib/puppet/util/rdoc/code_objects.rb, line 320 def full_name @type + "[#{@title}]" end
# File lib/puppet/util/rdoc/code_objects.rb, line 324 def name full_name end
# File lib/puppet/util/rdoc/code_objects.rb, line 328 def to_s res = @type + "[#{@title}]\n" res << @comment.to_s res end
# File lib/puppet/util/rdoc/code_objects.rb, line 308 def initialize(type, title, comment, params) super() @type = type @title = title @comment = comment @params = params end