From: sto.mar@... Date: 2012-10-02T21:06:51+09:00 Subject: Re: how to read arrary with an array Am 02.10.2012 05:37, schrieb 7stud --: >> don't undestand chap [0] and chap [1] reference > > If you are confused, it is the author's fault for choosing confusing > variable names. If the variable names were descriptive, the code would > be self explanatory. > I disagree. In my opinion `chapters.each { |chap| ... }` is perfectly alright for the given example. I really see no difference to your colors example and it's a lot more descriptive than the rather data structure centered `array_of_arrays.each { |sub_array| ... }`. I'm pretty sure you would not recommend using variable names like `text`, `some_hash`, `my_hash`, or `array_of_strings`?! --