Class: PuppetStrings::Markdown::PuppetPlan

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

Overview

Generates Markdown for a Puppet Plan.

Instance Method Summary collapse

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

#code_maybe_block

Constructor Details

#initialize(registry) ⇒ PuppetPlan

Returns a new instance of PuppetPlan.



11
12
13
14
# File 'lib/puppet-strings/markdown/puppet_plan.rb', line 11

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

Instance Method Details

#renderObject



16
17
18
# File 'lib/puppet-strings/markdown/puppet_plan.rb', line 16

def render
  super(@template)
end