Method: Puppet::Pops::Types::TypeFormatter#string_PTupleType

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

#string_PTupleType(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.



271
272
273
274
275
276
277
# File 'lib/puppet/pops/types/type_formatter.rb', line 271

def string_PTupleType(t)
  append_array('Tuple', t.types.empty?) do
    append_strings(t.types, true)
    append_elements(range_array_part(t.size_type), true)
    chomp_list
  end
end