Class: PuppetStrings::Markdown::DataType::Function
- Defined in:
- lib/puppet-strings/markdown/data_type.rb
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, #link, #name, #options, #options_for_param, #params, #private?, #raises, #return_type, #see, #since, #text, #toc_info, #value_string, #word_wrap
Constructor Details
#initialize(registry) ⇒ Function
Returns a new instance of Function.
24 25 26 |
# File 'lib/puppet-strings/markdown/data_type.rb', line 24 def initialize(registry) super(registry, 'data_type_function') end |
Instance Method Details
#render ⇒ Object
28 29 30 |
# File 'lib/puppet-strings/markdown/data_type.rb', line 28 def render super('data_type_function.erb') end |
#signature ⇒ Object
32 33 34 |
# File 'lib/puppet-strings/markdown/data_type.rb', line 32 def signature @registry[:signature] end |