From: Sam Kong Date: 2005-12-23T15:07:50+09:00 Subject: Re: How do you know what class defines method foo()? > So, if just want to know it for one case, use irb and look at > Method#inspect. > > 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. This is exactly what I wanted. I didn't know that there's 'method' method. Thank you very much. Sam