From: "Florian Groß" Date: 2005-12-24T05:18:27+09:00 Subject: Re: How do you know what class defines method foo()? Dominik Bathon wrote: > To write a method that returns the class/module that defines a method > one might parse the output of Method#inspect, but I think that is not > very nice. > > There doesn't seem to be a direct way to get the class/module in Ruby. But there ought to be. If you think so as well please vote on this RCR: http://www.rcrchive.net/rcr/show/292 -- http://flgr.0x42.net/