Subject: [ruby-talk:11802] list classmethods of a class
From: wys helbling.ch (Clemens Wyss)
Date: Thu, 1 Mar 2001 03:40:02 +0900
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?
Clemens