Programming Ruby: Chapter 5
Sunday, 9 March 2008
- 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.
I Am a Strange Loop
Seven Languages in Seven Weeks
A Short History of Nearly Everything