From: nobu.nokada@... Date: 2003-02-15T23:27:51+09:00 Subject: Re: module This::Encompassing::That Hi, At Sat, 15 Feb 2003 23:04:06 +0900, Gavin Sinclair wrote: > However, since the idea of the "module" keyword is to introduce a new > module or reuse an existing one, I don't see why the OP's idea > couldn't work. > > module X > module Y > module Z > end > C = 100 > end > end > > module X::Y > def foo; end > end # could work - use existing module You can use module_eval. X::Y.module_eval do def foo; end end -- Nobu Nakada