From: Laza Date: 2006-07-11T02:35:07+09:00 Subject: Re: Enumberable fails for class Subclass < Array; def enum... re-including Enumerable does not help. I re-implemented the class by having an Array member variable instead of inheriting from Array class. Apparently, not all classes are created equal in Ruby. Daniel Schierbeck wrote: > I've experienced problems myself when trying to redefine some of > Enumerable's methods. Apparently Array uses its own #collect and #map > methods, plus some others. Maybe if you explicitly re-include Enumerable > into your subclass? > > > Cheers, > Daniel