class PuppetStrings::Markdown::DataType::Function

Generates Markdown for a Puppet Function.

Public Class Methods

new(registry) click to toggle source
Calls superclass method PuppetStrings::Markdown::Base::new
# File lib/puppet-strings/markdown/data_type.rb, line 27
def initialize(registry)
  super(registry, 'data_type_function')
end

Public Instance Methods

render() click to toggle source
Calls superclass method PuppetStrings::Markdown::Base#render
# File lib/puppet-strings/markdown/data_type.rb, line 31
def render
  super('data_type_function.erb')
end
signature() click to toggle source
# File lib/puppet-strings/markdown/data_type.rb, line 35
def signature
  @registry[:signature]
end