Class: PuppetStrings::Markdown::PuppetClass

Inherits:
Base
  • Object
show all
Defined in:
lib/puppet-strings/markdown/puppet_class.rb

Instance Method Summary collapse

Methods inherited from Base

#defaults, #examples, #link, #name, #options, #options_for_param, #params, #private?, #raises, #return_type, #see, #since, #text, #toc_info, #value_string

Constructor Details

#initialize(registry) ⇒ PuppetClass

Returns a new instance of PuppetClass.



5
6
7
8
# File 'lib/puppet-strings/markdown/puppet_class.rb', line 5

def initialize(registry)
  @template = 'classes_and_defines.erb'
  super(registry, 'class')
end

Instance Method Details

#renderObject



10
11
12
# File 'lib/puppet-strings/markdown/puppet_class.rb', line 10

def render
  super(@template)
end