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.



298
299
300
# File 'lib/puppet/pops/types/type_formatter.rb', line 298

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