class PuppetStrings::Yard::CodeObjects::Functions
Implements the group for Puppet
functions.
Public Class Methods
instance(type)
click to toggle source
Gets the singleton instance of the group. @param [Symbol] type The function type to get the group for. @return Returns the singleton instance of the group.
Calls superclass method
PuppetStrings::Yard::CodeObjects::Group::instance
# File lib/puppet-strings/yard/code_objects/function.rb, line 10 def self.instance(type) super(:"puppet_functions_#{type}") 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/function.rb, line 17 def name(_prefix = false) 'Puppet Functions' end