From: Gregory Brown Date: 2007-06-16T10:19:40+09:00 Subject: Re: Using extend for initialization settings? On 6/15/07, Robert Dober wrote: > On 6/15/07, Gregory Brown wrote: > > On 6/15/07, Robert Dober wrote: > > > > > Hmm control maybe, you are not forcing anybody to call > > > f.extend(Container) in your approach. > > > > Then just pass the constant into the constructor :) > > Huh.. that is exactly what I have suggested, right? > I asked why #to_module . Right. I was basically saying you don't need to_module because if you wanted to force your object to use some container module, you could just pass it in. The .to_module code is gaining you a few chars at most, and I'm not sure it's worth it for the lack of clarity it introduces.