Method: Puppet::Type#parameters

Defined in:
lib/puppet/type.rb

#parametersHash{String => Object}

Returns a shallow copy of this object’s hash of attributes by name. Note that his not only comprises parameters, but also properties and metaparameters. Changes to the contained parameters will have an effect on the parameters of this type, but changes to the returned hash does not.

Returns:

  • (Hash{String => Object})

    a new hash being a shallow copy of the parameters map name to parameter



818
819
820
# File 'lib/puppet/type.rb', line 818

def parameters
  @parameters.dup
end