Sha256: 17e98bd877af4bce37d5b2aa9e3ebe92876f45e276a07e1cc87a9d151083f052

Contents?: true

Size: 692 Bytes

Versions: 17

Compression:

Stored size: 692 Bytes

Contents

# Initializes the template.
# @return [void]
def init
  sections :header, :box_info, :summary, :overview, T('tags'), :features, :confines, :defaults, :commands
end

# Renders the confines section.
# @return [String] Returns the rendered section.
def confines
  @title = 'Confines'
  @collection = object.confines
  erb(:collection)
end

# Renders the defaults section.
# @return [String] Returns the rendered section.
def defaults
  @title = 'Default Provider For'
  @collection = object.defaults
  erb(:collection)
end

# Renders the commands section.
# @return [String] Returns the rendered section.
def commands
  @title = 'Commands'
  @collection = object.commands
  erb(:collection)
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
puppet-strings-3.0.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-3.0.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.9.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.8.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.7.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.6.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.5.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.4.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.3.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.3.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.2.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.1.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-2.0.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-1.2.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-1.2.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-1.1.1 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb
puppet-strings-1.1.0 lib/puppet-strings/yard/templates/default/puppet_provider/html/setup.rb