when I do message.to_yaml I am getting the following output
mainText: "<h3 class=\"right_column\">Mark</h3> ... "
but I want the output in the following format
mainText: |
<h3 class="right_column">Mark</h3>
...
How do you force ruby to use pipe to fold multiple lines of string.
I tried
message.to_yaml(:UseFold => true, :UseBlock => true)
but it is not working
Thanks