Changes

Ruby Strings - Creation and Basics

2 bytes added, 13:09, 1 December 2007
Quoting Ruby Strings
</pre>
As you can see, the \n got was interpreted as a real new line causing our string to appear onm on two lines when printed.
The single quote gives us a different result:
</pre>
In this case the '\n' is treated literally as a '\' and an 'n' with no special meaning.
== General Delimited Strings ==