From: Jim Freeze Date: 2005-09-28T02:51:13+09:00 Subject: Re: Class and Iterator Design Question Wow, thanks for all the responses. First, duh, yeah, I got it backwards (pod and peas should be reversed.) So, from what I have read, we have: 1. Pod.new.each { |pea| ... } 2. Pod.new.peas.each { |pea| ... } #2 compromises the OO integrity. I understand that, but I guess I am bugged by #1 where Pod.new.each yields a 'pea'. If I see a Pod.each, I kind of expect to get a 'pod' back, not a pea. That is the reason I did #each_pod. Any comments on this? -- Jim Freeze