From: Markus Jais Date: 2002-10-17T07:24:55+09:00 Subject: Method#arity problem hi lets say I have this code: def get_arity(c) puts c.new.method('meth').arity end get_arity(Kernel) this does not work because when passing different classes "new" might expect a different number of arguments and I get an error how can I get the arity of methods from a class when I do not know how many arguments "new" expects ? markus