ara.t.howard
5/21/2007 10:23:00 PM
On May 21, 2007, at 4:15 PM, Joel VanderWerf wrote:
> ara.t.howard wrote:
>> does anyone know if this can be relied upon?
>
> Is this the part you are really asking about?
>
> module M; end
>
> c = Object.new
>
> c.extend M
> c.extend M.dup
>
> class << c; p ancestors; end
> # ==> [#<Module:0xb7cf26ac>, M, Object, Kernel]
yes ;-)
-a
--
we can deny everything, except that we have the possibility of being
better. simply reflect on that.
h.h. the 14th dalai lama