function method_arity

static VALUE method_arity(VALUE method)