From: James Edward Gray II Date: 2005-10-19T00:14:27+09:00 Subject: Re: Unit testing an each function On Oct 18, 2005, at 10:04 AM, Peter Hickman wrote: > # What I want to work is > > data.each.each{|i| puts i} If you know there's going to be Enumerable objects in there, perhaps you could redefine each() to handle the nesting, or provide another iterator for this... James Edward Gray II