Class: PuppetStrings::Markdown::PuppetClass
- Defined in:
- lib/puppet-strings/markdown/puppet_class.rb
Overview
Generates Markdown for a Puppet Class.
Instance Method Summary collapse
-
#initialize(registry) ⇒ PuppetClass
constructor
A new instance of PuppetClass.
- #render ⇒ Object
Methods inherited from Base
#defaults, #enums, #enums_for_param, #examples, group_name, items, #link, #name, #options, #options_for_param, #params, #private?, #raises, #return_type, #see, #since, #text, #toc_info, #word_wrap, yard_types
Methods included from Helpers
Constructor Details
#initialize(registry) ⇒ PuppetClass
Returns a new instance of PuppetClass.
11 12 13 14 |
# File 'lib/puppet-strings/markdown/puppet_class.rb', line 11 def initialize(registry) @template = 'classes_and_defines.erb' super(registry, 'class') end |
Instance Method Details
#render ⇒ Object
16 17 18 |
# File 'lib/puppet-strings/markdown/puppet_class.rb', line 16 def render super(@template) end |