lib/pdk/generate/puppet_class.rb
def template_data
        data = { name: object_name }

        data
      end
# Prepares the data needed to render the new Puppet class template.
#
# @return [Hash{Symbol => Object}] a hash of information that will be
# provided to the class and class spec templates during rendering.
Prepares the data needed to render the new Puppet class template.
Prepares the data needed to render the new Puppet class template .
def template_data
        data = { name: object_name }
        data
      end
def template_data data = { name : object_name } data end
Prepares the data needed to render the new Puppet class template.
Prepares the data needed to render the new Puppet class template .
a hash of information that will be provided to the class and class spec templates during rendering.
a hash of information that will be provided to the class and class spec templates during rendering .
Hash{Symbol => Object}