Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By | Corrected |
|---|---|---|---|---|
| Printed | Page 31 example in "statement modifier for while" |
The sum variable doesn't belong in the example. |
Anonymous | |
| Printed | Page 32 third paragraph |
The book says that when using a case statement "the logic of == is assumed". I'm pretty sure the === (triple equals, not double) is used because you can test the class of an object. For example, the following returns true: Note from the Author or Editor: |
Alex Reisner | |
| Printed | Page 45-46 rolling dice example |
From: Adri�n Mugnolo <adrian@giro54.com> |
Anonymous | |
| Printed | Page 45-46 rolling dice example |
Mathematically correct and idiomatic Ruby for this example should be |
Anonymous | |
| Printed | Page 65 First line after paragraph heading "Number of operands" |
Different operands take different numbers of operands. |
Anonymous | Sep 2007 |
| Printed | Page 99 middle |
This is not as much an error as an omission: the Array#detect method is not documented. |
Anonymous | |
| Printed | Page 109 Third line from bottom |
The method name should be each_pair, not each_key. Note from the Author or Editor: |
Anonymous | |
| Printed | Page 110 First line |
The method name should be each_value, not each_key. Note from the Author or Editor: |
Anonymous |
