Plugin holds a native puppet plugin (function,type...) It is mapped to a HTMLPuppetPlugin for display
# File lib/puppet/util/rdoc/code_objects.rb, line 186 def initialize(name, type) super() @name = name @type = type @comment = "" end
# File lib/puppet/util/rdoc/code_objects.rb, line 193 def <=>(other) @name <=> other.name end
# File lib/puppet/util/rdoc/code_objects.rb, line 197 def full_name @name end
# File lib/puppet/util/rdoc/code_objects.rb, line 201 def http_url(prefix) path = full_name.split("::") File.join(prefix, *path) + ".html" end
# File lib/puppet/util/rdoc/code_objects.rb, line 206 def is_fact? false end
# File lib/puppet/util/rdoc/code_objects.rb, line 210 def to_s res = self.class.name + ": #{@name} (#{@type})\n" res << @comment.to_s res end