Sha256: 66f0d78851898ac25d38d7bb58bcdfb17fa944db9f2b5d1f5225aa8e8f201d04

Contents?: true

Size: 371 Bytes

Versions: 12

Compression:

Stored size: 371 Bytes

Contents

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

# Renders the box_info section.
# @return [String] Returns the rendered section.
def box_info
  @subclasses = Registry.all(:puppet_class).find_all { |c|
    c.statement.parent_class == object.name.to_s
  }
  erb(:box_info)
end

Version data entries

12 entries across 12 versions & 1 rubygems

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