Hi,
I'm implementing the singleton_method_added(VALUE self, VALUE id) hook in c
for an embedded ruby application (the vim editor) what I want to do is that
every new method added to a specific object will be simultaneously made
available
to the other scripting environments in the embedding program (the vim
editor).
Since both ruby and vim functions can be either fixed arg or variable arg
functions it would be best if I could access the arity of a ruby method from
my
C extension. I couldn't find a way to do it although I think it would be
doable by
evaling some ruby but I'd like to know if there is a c call appropriate.
thanks in advance

Benoit