Class: RDoc::PuppetTopLevel
- Defined in:
- lib/puppet/util/rdoc/code_objects.rb
Overview
PuppetTopLevel is a top level (usually a .pp/.rb file)
Constant Summary collapse
- @@all_plugins =
will contain all plugins
{}
- @@all_facts =
contains all cutoms facts
{}
Instance Attribute Summary collapse
-
#global ⇒ Object
Returns the value of attribute global.
-
#module_name ⇒ Object
Returns the value of attribute module_name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(toplevel) ⇒ PuppetTopLevel
constructor
A new instance of PuppetTopLevel.
Constructor Details
#initialize(toplevel) ⇒ PuppetTopLevel
Returns a new instance of PuppetTopLevel.
21 22 23 |
# File 'lib/puppet/util/rdoc/code_objects.rb', line 21 def initialize(toplevel) super(toplevel.file_relative_name) end |
Instance Attribute Details
#global ⇒ Object
Returns the value of attribute global.
13 14 15 |
# File 'lib/puppet/util/rdoc/code_objects.rb', line 13 def global @global end |
#module_name ⇒ Object
Returns the value of attribute module_name.
13 14 15 |
# File 'lib/puppet/util/rdoc/code_objects.rb', line 13 def module_name @module_name end |