Method: Puppet::Pops::Types::TypeFormatter#string_PAnnotatedMember

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

#string_PAnnotatedMember(m) ⇒ 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.



455
456
457
458
459
460
461
462
# File 'lib/puppet/pops/types/type_formatter.rb', line 455

def string_PAnnotatedMember(m)
  hash = m._pcore_init_hash
  if hash.size == 1
    string(m.type)
  else
    string(hash)
  end
end