Method: Puppet::Type#name

Defined in:
lib/puppet/type.rb

#nameString

TODO:

There is a comment in source that this is not quite the same as ‘:title’ and that a switch should be made…

Returns the resource’s name

Returns:

  • (String)

    the name of a resource



2499
2500
2501
# File 'lib/puppet/type.rb', line 2499

def name
  self[:name]
end