class PuppetStrings::Yard::CodeObjects::Classes

Implements the group for Puppet classes.

Public Class Methods

instance() click to toggle source

Gets the singleton instance of the group. @return Returns the singleton instance of the group.

# File lib/puppet-strings/yard/code_objects/class.rb, line 9
def self.instance
  super(:puppet_classes)
end

Public Instance Methods

name(_prefix = false) click to toggle source

Gets the display name of the group. @param [Boolean] prefix whether to show a prefix. Ignored for Puppet group namespaces. @return [String] Returns the display name of the group.

# File lib/puppet-strings/yard/code_objects/class.rb, line 16
def name(_prefix = false)
  'Puppet Classes'
end