Method: Puppet::Pops::Types::TypeFormatter#string_PObjectType

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

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



500
501
502
503
504
505
506
# File 'lib/puppet/pops/types/type_formatter.rb', line 500

def string_PObjectType(t)
  if @expanded
    append_object_hash(t._pcore_init_hash(@type_set.nil? || !@type_set.defines_type?(t)))
  else
    @bld << (@type_set ? @type_set.name_for(t, t.label) : t.label)
  end
end