Method: Puppet::Pops::Types::TypeFormatter#string_PEnumType

Defined in:
lib/puppet/pops/types/type_formatter.rb

#string_PEnumType(t) ⇒ 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.



219
220
221
222
223
224
225
226
227
# File 'lib/puppet/pops/types/type_formatter.rb', line 219

def string_PEnumType(t)
  append_array('Enum', t.values.empty?) do
    append_strings(t.values)
    if t.case_insensitive?
      @bld << COMMA_SEP
      append_string(true)
    end
  end
end