Class: PuppetStrings::Yard::CodeObjects::DataTypeAliases

Inherits:
Group
  • Object
show all
Defined in:
lib/puppet-strings/yard/code_objects/data_type_alias.rb

Overview

Implements the group for Puppet DataTypeAliases.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Group

#path, #type

Methods inherited from Base

new

Class Method Details

.instanceObject

Gets the singleton instance of the group.

Returns:

  • Returns the singleton instance of the group.



10
11
12
# File 'lib/puppet-strings/yard/code_objects/data_type_alias.rb', line 10

def self.instance
  super(:puppet_data_type_aliases)
end

Instance Method Details

#name(_prefix = false) ⇒ String

Gets the display name of the group.

Parameters:

  • prefix (Boolean)

    whether to show a prefix. Ignored for Puppet group namespaces.

Returns:

  • (String)

    Returns the display name of the group.



17
18
19
# File 'lib/puppet-strings/yard/code_objects/data_type_alias.rb', line 17

def name(_prefix = false)
  'Puppet Data Type Aliases'
end