On 6/16/07, dblack / wobblini.net <dblack / wobblini.net> wrote:

> I do sometimes wonder what would happen if the ancestry array were
> writeable.  It could be interesting.  I haven't thought through the
> possible pitfalls.

Actually the ancestry array only exists as the return value of the
ancestry method, internally it's a chain of class objects, and module
wrapper's.  Some things, like including a module will alter that
chain, although there are restrictions which lead to things like the
double module inclusion problem.

Perhaps evil.rb lets you monkey with the chain, it would seem to be
within its mission.

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/