On Mon, Oct 02, 2006 at 09:35:11AM +0900, Trans wrote:
> More Toplevel blow:
> 
>   $toplevel = self
>   module Test
>     def self.included( base )
>       p base == $toplevel
>     end
>   end
>   include Test
> 
> Produces:
> 
>   false
> 
> :-(
> 
I wonder if the powers that be would consider adding some additional
hooks if they don;t want to make the top-level an extended self module.

(e.g:

alias toplevel_include include
def include(mod)
  toplevel_include( mod )
  mod.included( self )
end

I don't really like that actually. Trans, consider my vote added in
favor to "Make the toplevel a self-extended module". It just seems so
much more useful and cleaner without this silly proxying.
> T.
>