Method: Puppet::Parameter::Value#alias

Defined in:
lib/puppet/parameter/value.rb

#alias(name) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Adds an alias for this value. Makes the given name be an alias for this acceptable value.

Parameters:

  • name (Symbol)

    the additional alias this value should be known as



17
18
19
# File 'lib/puppet/parameter/value.rb', line 17

def alias(name)
  @aliases << convert(name)
end