When I print out this heredoc string, it is output as a single line. How can it be configured to print out on multiple lines just as it is in the heredoc?
sslCmd = """
openssl req -x509 -new -nodes -sha256 \
-key {{key-file-pass}}.key \
-days 3650 \
-out {{key-file-pass}}.pem \
-subj "\
/C={{ca_cert_subj_country}}\
/ST={{ca_cert_subj_state}}\
/L={{ca_cert_subj_location}}\
/O={{ca_cert_subj_organization}}\
/OU={{ca_cert_subj_org_unit}}\
/CN={{ca_cert_subj_common_name}}\
/emailAddress={{ca_cert_email}}"\
"""
IO.puts sslCmd
output
openssl req -x509 -new -nodes -sha256 -key {{key-file-pass}}.key -days 3650 -out {{key-file-pass}}.pem -subj "/C={{ca_cert_subj_country}}/ST={{ca_cert_subj_state}}/L={{ca_cert_subj_location}}/O={{ca_cert_subj_organization}}/OU={{ca_cert_subj_org_unit}}/CN={{ca_cert_subj_common_name}}/emailAddress={{ca_cert_email}}"
PS. I expect the output below to appear on a single line with a horizontal scrollbar to bring the rest into view when I used the preformatted text toolbar button. Why is it wrapped?
Thanks!