class PuppetStrings::Yard::CodeObjects::Providers
Implements the group for Puppet
providers.
Public Class Methods
Source
# File lib/puppet-strings/yard/code_objects/provider.rb, line 10 def self.instance(type) super(:"puppet_providers_#{type}") end
Gets the singleton instance of the group. @param [String] type The resource type name for the provider. @return Returns the singleton instance of the group.
Calls superclass method
PuppetStrings::Yard::CodeObjects::Group::instance
Public Instance Methods
Source
# File lib/puppet-strings/yard/code_objects/provider.rb, line 17 def name(_prefix = false) 'Providers' end
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.