From: "David A. Black" Date: 2005-09-23T21:53:56+09:00 Subject: Re: class methods Hi -- On Fri, 23 Sep 2005, Mark Volkmann wrote: > I thought this would be easy, so it's embarassing to ask. > How can I get a list of the class methods in a given class? > I know I can get public instance methods like this. > > MyClass.instance_methods.sort.each {|m| puts m} See other answers for main answer, but also: puts array is the same as array.each {|e| puts e } :-) David -- David A. Black dblack@wobblini.net