From: Jonas Pfenniger Date: 2006-06-29T17:18:52+09:00 Subject: Re: eigenclass not extensible ? Effectively : module Mod def somemethod "defined in Mod" end end class Cls3 def self.somemethod super + " and in Cls3" end end Cls3.somemethod #=> NoMethodError: super: no superclass method `somemethod' Cls3.extend Mod Cls3.somemethod #=> "defined in Mod and in Cls3" # But... Cls3.ancestors #=> [Cls3, Object, Kernel] class << Cls3 ancestors end #=> [Mod, Class, Module, Object, Kernel] So in theory, the eigenclass is effectively BEFORE anything else but in doesn't show up in the ancestors. Last question : do you know if there is a workaround to make class extension work like class inclusion ? Where the module is BEFORE the eigenclass ? -- Cheers, zimbatm http://zimbatm.oree.ch