Can someone please explain... :>

-----Original Message-----
From: Minero Aoki [mailto:aamine / mx.edit.ne.jp]
Sent: Monday, July 30, 2001 11:46 AM
To: ruby-talk / ruby-lang.org
Subject: [ruby-talk:18828] Re: Get a list of class (not instance)
functions



  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