Method: Puppet::Pops::Types::TypeFormatter#string_String

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

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



605
606
607
608
# File 'lib/puppet/pops/types/type_formatter.rb', line 605

def string_String(t)
  # Use single qoute on strings that does not contain single quotes, control characters, or backslashes.
  @bld << StringConverter.singleton.puppet_quote(t)
end