class PuppetStrings::Yard::CodeObjects::DefinedTypes
Implements the group for Puppet defined types.
Public Class Methods
instance()
click to toggle source
Gets the singleton instance of the group. @return Returns the singleton instance of the group.
Calls superclass method
PuppetStrings::Yard::CodeObjects::Group.instance
# File lib/puppet-strings/yard/code_objects/defined_type.rb, line 7 def self.instance super(:puppet_defined_types) 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/defined_type.rb, line 14 def name(prefix = false) 'Defined Types' end