Method: Puppet::Pops::Types::TypeFormatter#string_PStructType

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

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



311
312
313
# File 'lib/puppet/pops/types/type_formatter.rb', line 311

def string_PStructType(t)
  append_array('Struct', t.elements.empty?) { append_hash(t.elements.to_h { |e| struct_element_pair(e) }) }
end