From: George Moschovitis Date: 2005-02-28T17:44:57+09:00 Subject: Method parameters reflection Hello everyone, I would like to use some kind of reflection to get the parameters of a method. For example: class MyClass def simple_method(last_name, name) end end method_params(MyClass, :simple_method) => [:last_name, :name] I have implement this using ParseTree, but since ParseTree uses RubyInline which requires a C compiler, and AFAIK is not portable, I would like a better solution. Anyone has an idea? George.