Method: Puppet::Pops::Types::PStringType#values
- Defined in:
- lib/puppet/pops/types/types.rb
#values ⇒ 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.
Deprecated.
1565 1566 1567 1568 1569 1570 1571 |
# File 'lib/puppet/pops/types/types.rb', line 1565 def values if Puppet[:strict] != :off #TRANSLATORS 'PStringType#values' and '#value' are classes and method names and should not be translated Puppet.warn_once('deprecations', "PStringType#values", _("Method PStringType#values is deprecated. Use #value instead")) end @value.is_a?(String) ? [@value] : EMPTY_ARRAY end |