function method_arity

[edit]
static VALUE method_arity(VALUE method)