From: vasudevram Date: 2007-07-11T22:17:36+09:00 Subject: Re: get modules that are in a class? >YourClass.methods.sort Yes, that's a useful trick. I use it all the time. We can also make up many more such, with a bit of thought. Another one I use a lot, when I think that some class is likely to have a method with some substring in its name, is: YourClass.methods.grep /substring/ e.g. : String.methods.grep /case/ # to find out what the String method name to uppercase (or lowercase) a string, is called. or "".methods.grep /case/ Vasudev Ram http://www.dancingbison.com http://jugad.livejournal.com http://sourceforge.net/projects/xtopdf