Class: PuppetStrings::Markdown::DataType::Function
- Defined in:
- lib/puppet-strings/markdown/data_type.rb
Overview
Generates Markdown for a Puppet Function.
Instance Method Summary collapse
-
#initialize(registry) ⇒ Function
constructor
A new instance of Function.
- #render ⇒ Object
- #signature ⇒ 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) ⇒ Function
Returns a new instance of Function.
27 28 29 |
# File 'lib/puppet-strings/markdown/data_type.rb', line 27 def initialize(registry) super(registry, 'data_type_function') end |
Instance Method Details
#render ⇒ Object
31 32 33 |
# File 'lib/puppet-strings/markdown/data_type.rb', line 31 def render super('data_type_function.erb') end |
#signature ⇒ Object
35 36 37 |
# File 'lib/puppet-strings/markdown/data_type.rb', line 35 def signature @registry[:signature] end |