From: Eric Schwartz Date: 2002-11-12T06:47:26+09:00 Subject: Re: More fun with modules Joel VanderWerf writes: > # if method lookup for Point fell through to Space, we'd > # be able to do this, which is senseless: > #p tl.bottom_right That's not what I'm talking about, though I can see how you got there. I'm saying that it makes no sense to define a class inside a module, and then have to include the module's namespace inside itself. To me, this looks needlessly redundant: module Foo class Bar include Foo def bah thingy() end end (assuming thingy() is defined in module Foo elsewhere) I just defined Bar inside Foo, why should I have to include it all over again? -=Eric -- Come to think of it, there are already a million monkeys on a million typewriters, and Usenet is NOTHING like Shakespeare. -- Blair Houghton