On 28 Feb 2001 18:17:28 GMT, wys / helbling.ch (Clemens Wyss) wrote:

>I tried, but didn't find out how to get the list of classmethods of a
>class. IMHO it would be natural to have the following behavior: 
>
>class Dummy
>def Dummy.one()
>end
>def Dummy.two()
>end
>end
>
>Dummy.class_methods() >> [one, tow]
>
>Any hints?

Dummy.methods lists all the methods Dummy class understands. Is that
what you wanted, or do you just want its OWN methods?

Regards,

Ronald E Jeffries
http://www.XProgramming.com
http://www.objectmentor.com