Class: PuppetStrings::Markdown::DataType::Function

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

Instance Method Summary collapse

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

#renderObject



28
29
30
# File 'lib/puppet-strings/markdown/data_type.rb', line 28

def render
  super('data_type_function.erb')
end

#signatureObject



32
33
34
# File 'lib/puppet-strings/markdown/data_type.rb', line 32

def signature
  @registry[:signature]
end