Class: PuppetStrings::Markdown::DefinedType
- Defined in:
- lib/puppet-strings/markdown/defined_type.rb
Overview
Generates Markdown for a Puppet Defined Type.
Instance Method Summary collapse
-
#initialize(registry) ⇒ DefinedType
constructor
A new instance of DefinedType.
- #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) ⇒ DefinedType
Returns a new instance of DefinedType.
11 12 13 14 |
# File 'lib/puppet-strings/markdown/defined_type.rb', line 11 def initialize(registry) @template = 'classes_and_defines.erb' super(registry, 'defined type') end |
Instance Method Details
#render ⇒ Object
16 17 18 |
# File 'lib/puppet-strings/markdown/defined_type.rb', line 16 def render super(@template) end |