Class: PuppetStrings::Yard::CodeObjects::Functions

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

Overview

Implements the group for Puppet functions.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Group

#path, #type

Methods inherited from Base

new

Class Method Details

.instance(type) ⇒ Object

Gets the singleton instance of the group.



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

def self.instance(type)
  super("puppet_functions_#{type}".intern)
end

Instance Method Details

#name(prefix = false) ⇒ String

Gets the display name of the group.



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

def name(prefix = false)
  'Puppet Functions'
end