Class: PuppetStrings::Yard::CodeObjects::Functions
Overview
Implements the group for Puppet functions.
Class Method Summary collapse
-
.instance(type) ⇒ Object
Gets the singleton instance of the group.
Instance Method Summary collapse
-
#name(_prefix = false) ⇒ String
Gets the display name of the group.
Methods inherited from Group
Methods inherited from Base
Class Method Details
.instance(type) ⇒ Object
Gets the singleton instance of the group.
10 11 12 |
# File 'lib/puppet-strings/yard/code_objects/function.rb', line 10 def self.instance(type) super(:"puppet_functions_#{type}") end |
Instance Method Details
#name(_prefix = false) ⇒ String
Gets the display name of the group.
17 18 19 |
# File 'lib/puppet-strings/yard/code_objects/function.rb', line 17 def name(_prefix = false) 'Puppet Functions' end |