Method: Puppet::Pops::Types::TypeFormatter#string_PHashType
- Defined in:
- lib/puppet/pops/types/type_formatter.rb
#string_PHashType(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.
411 412 413 414 415 416 417 418 419 420 421 |
# File 'lib/puppet/pops/types/type_formatter.rb', line 411 def string_PHashType(t) if t.has_empty_range? append_array('Hash') { append_strings([0, 0]) } else append_array('Hash', t == PHashType::DEFAULT) do append_strings([t.key_type, t.value_type], true) append_elements(range_array_part(t.size_type), true) chomp_list end end end |