On 9/28/06, Martin Coxall <pseudo.meta / gmail.com> wrote:
[snip]
>
> # List the methods of Klass
> Klass.methods.sort.each do |method|

Try Klass.instance_methods.

>   puts "Klass##{methodName}"
> end
>
> ----------------------------------------------------------------