In mail "[ruby-talk:18826] Get a list of class (not instance) functions"
"Florian G. Pflug" <fgp / phlo.org> wrote:
> Is there a way to get a list of all the class functions of a
> particular class?
> So the info about the class functions should be available via the metaclass
> - but you can't call functions of the metaclass as far as I understand.
You can. Try this:
(class << some_class; self end).instance_methods
Minero Aoki