Putting a minus between the << and the string terminator allows heredocs to be indented.
The string class provides two alternatives of several methods. One that returns a modified string and another that changes the string in-place. The latter is then suffixed with an exclamation mark.
Archives for the Date March 9th, 2008
Programming Ruby: Chapter 5
Sunday, 9 March 2008
I Am a Strange Loop
A Short History of Nearly Everything