From: mengx@... Date: 2000-04-07T16:17:35-04:00 Subject: [ruby-talk:02385] Re: Iterator into array > True, but that then means that every iterator would have to implement > the test. It would seem better to make the implementation part of the > general set of collections, rather than of the methods that fill them. > Maybe result = Array.new(iterator) would work if Array can check its type. -Ted