From: Phillip Gawlowski Date: 2011-07-28T03:27:44+09:00 Subject: Re: How do we read this line of code? On Wed, Jul 27, 2011 at 8:24 PM, SW Engineer wrote: > If we have the following line of Ruby code: > > @x.each do |x| > > - What does |x| represent here? A block variable > - How do we read the line (i.e; in English)? @x.each do |x|. :P "For each item in @x, called x, and do..." -- Phillip Gawlowski phgaw.posterous.com | twitter.com/phgaw | gplus.to/phgaw A method of solution is perfect if we can forsee from the start, and even prove, that following that method we shall attain our aim.               -- Leibniz