From: Tom Ha Date: 2009-05-08T05:06:16+09:00 Subject: Re: n00b: code logic (probably a 1-min-question) Thanks for replying - well, there's not much "sense" in the example because I took stuff out, to make it shorter. Basically, the problem in the original example above is apparently, that @agency.agents has a 'length'/'size' of 4, but the counter i does NOT get incremented in the loop "self.agents do |agent| ... " ('i' stays 0...). But why? What am I missing? I just don't get it... -- Posted via http://www.ruby-forum.com/.