"Gavin Sinclair" <gsinclair / soyabean.com.au> writes: > One of the coolest (not highest-value, just coolest) things about Ruby, IMO, is > that "for a in x do ... end" is *nothing more than syntax sugar* for "x.each do > |a| ... end". This is supreme orthoganality. Being able to apply "for ..." to > your own classes is wonderful. It's a bit more than syntax sugar. Watch the scope of the local variables!