Programming Ruby: Chapter 3
Friday, 7 March 2008
20 chapters of Python should be a foundation solid enough to let me start learning yet another language without mixing the new knowledge up. Well, at least I am gonna give it a try. So here’s what I found out while reading Programming Ruby.
- When overriding a method in a subclass, the keyword super suffices on its own to qualify the overridden method in the base class. The method name itself does not need to be specified.
- Simple getters and setters are generated when calling
attr_readerorattr_writerrespectively.
Seven Languages in Seven Weeks
I Am a Strange Loop
A Short History of Nearly Everything