The latest version of the book is P5.0, released over 1 year ago. If you've bought a PDF of the book and would like to upgrade it to this version (for free), visit your home page.
By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:
If you've found a new error, please submit it.
- Reported in: P5.0 (12-Sep-15)
Paper page: 20
Sorry the page number is incorrect - i am reading using the kindle cloud reader.
Two serious issues:
(1) the author's email address needs to be here so that people can ask questions.
(2) start of chapter 2 - in the hello world ruby program. in order for it to run - if you are a linux user - the terminal must be in the same directory as the ruby code. duh! but the author doesn't specify this, and a noob user would know any better and his/her code simply would not run. this is frustrating because we are paying good money for a book so that it lays things out in a easy to read/learn manner.
pls take this feedback on board.
- Reported in: P5.0 (04-Jun-15)
PDF page: 61
Chapter on Methods does not use the community accepted Ruby Style Guide of encasing parameters in parenthesis. Parenthesis are only left off of methods if there are no arguments. The lack of parenthesis makes the code examples difficult to read with no benefit. Please see the Ruby Style Guide listed on github--Brent
- Reported in: P4.0 (03-Mar-14)
Paper page: 66
In the method 'ask' the answer variables are declared in the private scope of an 'if' then used later as the return at which point it is inaccessible.
I think it should be something like....
def ask question
answer # declare the variable to return
answer # return true or false depending on what the user entered
- Reported in: P4.0 (12-Oct-13)
PDF page: 87
Text halfway down page reads "Viola!" While this is a recognized English word, it ought to read "Voila!"--Luke
- Reported in: P4.0 (26-Oct-13)
PDF page: 116
". However, none of these is actually called until the very last line.)"
Shouldn't it be "none of these are"?
- Reported in: P5.0 (13-Jan-16)
PDF page: 141
The answer ("How I would do it") to the "modern roman numeral" question was "MIM", when it should be "MCMXCIX", which represents the year 1999 as in "puts(roman_numeral(1999)) ".
Thank you for your work!