Sha256: 82b6fadb1935d74cb608290043760d51387699d7535fb07fa00bf5dcbc101d4e

Contents?: true

Size: 566 Bytes

Versions: 10

Compression:

Stored size: 566 Bytes

Contents

# Initializes the template.
# @return [void]
def init
  sections :header, :box_info, :summary, :overview, :alias_of, :note, :todo, T('tags'), :source
end

# Renders the alias_of section.
# @return [String] Returns the rendered section.
def alias_of
  # Properties are the same thing as parameters (from the documentation standpoint),
  # so reuse the same template but with a different title and data source.
  #@parameters = object.properties || []
  #@parameters.sort_by! { |p| p.name }
  @tag_title = 'Alias of'
  @alias_of = object.alias_of
  erb(:alias_of)
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
puppet-strings-3.0.1 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-3.0.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.9.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.8.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.7.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.6.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.5.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.4.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.3.1 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb
puppet-strings-2.3.0 lib/puppet-strings/yard/templates/default/puppet_data_type_alias/html/setup.rb