From: Robert Dober Date: 2010-08-29T00:10:36+09:00 Subject: Re: Name that method! On Sat, Aug 28, 2010 at 4:59 PM, Intransition wrote: > On Aug 27, 5:38 pm, Brian Candler wrote: >> Module#enclosing_module ?? > > Foo::Bar could be class. Does that make a difference? But a class is a module, right? Although more exactly one could argue that an instance of a class is a module. Well for me that was good enough an approximation. As a side note I never use class_eval, but always module_eval. However if some do not see a class as a (kind of a) module the name would be chosen badly indeed. Cheers R. > > -- The best way to predict the future is to invent it. -- Alan Kay