Method: Puppet::Pops::Types::TypeFormatter#string_Array
- Defined in:
- lib/puppet/pops/types/type_formatter.rb
#string_Array(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.
568 569 570 571 572 573 574 575 576 577 578 579 580 |
# File 'lib/puppet/pops/types/type_formatter.rb', line 568 def string_Array(t) append_array('') do if @indent && !is_short_array?(t) @indent += 1 t.each { |elem| newline; append_string(elem); @bld << COMMA_SEP } chomp_list @indent -= 1 newline else append_strings(t) end end end |