From: "David A. Black" Date: 2005-09-11T23:59:53+09:00 Subject: Re: When an Array is not Hi -- On Sun, 11 Sep 2005, Peter Vanbroekhoven wrote: > Actually the corresponding example would be something like this: > > module M > def y ; 'y' ; end > end > > module N > def x ; 'x' ; end > end > > class A > include N > end > > module N > include M > end > > A.new.x # 'x' > A.new.y # NoMethodError > A.ancestors # [A, N, Object, Kernel] > N.ancestors # [N, M] > > It has nothing to do with built-ins, it's a restriction of the way Ruby > handles module inclusion. For more information, see the thread starting at > [ruby-core:2068] http://rubyurl.com/vFI Yes, thanks for correcting. I somehow transmuted the whole thing into classes.... David -- David A. Black dblack@wobblini.net