Class: RDoc::PuppetNode

Inherits:
PuppetClass show all
Includes:
AddClassModuleComment
Defined in:
lib/puppet/util/rdoc/code_objects.rb

Overview

PuppetNode holds a puppet node It is mapped to a HTMLPuppetNode for display A node is just a variation of a class

Instance Attribute Summary

Attributes inherited from PuppetClass

#childs, #realizes, #requires, #resource_list

Instance Method Summary collapse

Methods included from AddClassModuleComment

#add_comment

Methods inherited from PuppetClass

#add_child, #add_realize, #add_require, #add_resource, #aref_prefix, #find_symbol, #superclass=

Constructor Details

#initialize(name, superclass) ⇒ PuppetNode

Returns a new instance of PuppetNode.



186
187
188
# File 'lib/puppet/util/rdoc/code_objects.rb', line 186

def initialize(name, superclass)
  super(name,superclass)
end

Instance Method Details

#is_module?Boolean

Returns:

  • (Boolean)


190
191
192
# File 'lib/puppet/util/rdoc/code_objects.rb', line 190

def is_module?
  false
end