Programming Ruby: Chapter 6
Monday, 10 March 2008
- Names of boolean methods are usually suffixed with a question mark.
- Names of methods used to set values are usually suffixed with an equals sign.
- Within a method body you can determine whether a block was passed by calling, guess what,
block_given?.
I Am a Strange Loop
A Short History of Nearly Everything
Seven Languages in Seven Weeks