Method: Puppet::Pops::Types::TypeFormatter#string_PArrayType
- Defined in:
- lib/puppet/pops/types/type_formatter.rb
#string_PArrayType(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.
398 399 400 401 402 403 404 405 406 407 408 |
# File 'lib/puppet/pops/types/type_formatter.rb', line 398 def string_PArrayType(t) if t.has_empty_range? append_array('Array') { append_strings([0, 0]) } else append_array('Array', t == PArrayType::DEFAULT) do append_strings([t.element_type], true) append_elements(range_array_part(t.size_type), true) chomp_list end end end |