From: Trans Date: 2005-12-06T11:22:33+09:00 Subject: Re: injecting dynamic methods into a class Jonathan > > > I agree with the name change. However, the class isn't instantiable, so > > using self won't work. I will change this to a module though. (you can > > call methods of a module without mixing it in right?) > > Oops. I guess 'self' in that context refers to the module or class?? > Yea, that would be more robust (or at least more consistent with > write-once. changing the name of a class or module would require > changing all static method names (are these called class methods in > ruby??) unless self is used. Is that the reason you think it's more > robust or was it something else? Nope, that's it exactly. T.