Method: Puppet::Type.name

Defined in:
lib/puppet/type.rb

.nameString (readonly)

Returns the name of the resource type; e.g., “File”.

Returns:

  • (String)

    the name of the resource type; e.g., “File”



2185
2186
2187
# File 'lib/puppet/type.rb', line 2185

def name
  @name
end