Class: Puppet::Parameter::Value Private
- Inherits:
-
Object
- Object
- Puppet::Parameter::Value
- Defined in:
- lib/puppet/parameter/value.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Note:
this class should be used via the api methods in Puppet::Parameter and Puppet::Property
Describes an acceptable value for a parameter or property. An acceptable value is either specified as a literal value or a regular expression.
Instance Method Summary (collapse)
-
- (Object) alias(name)
private
Adds an alias for this value.
Instance Method Details
- (Object) alias(name) private
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.
17 18 |
# File 'lib/puppet/parameter/value.rb', line 17 def alias(name) @aliases << convert(name) |