Class: PuppetStrings::Yard::CodeObjects::Types

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

Overview

Implements the group for Puppet resource types.

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.



7
8
9
# File 'lib/puppet-strings/yard/code_objects/type.rb', line 7

def self.instance
  super(:puppet_types)
end

Instance Method Details

#name(prefix = false) ⇒ String

Gets the display name of the group.



14
15
16
# File 'lib/puppet-strings/yard/code_objects/type.rb', line 14

def name(prefix = false)
  'Resource Types'
end