Eric Hodel wrote:
> NODE_CREF could have nd_argc holding the calling convention as it does 
> now, and add an nd_arity (stored in u3.cnt) storing the Ruby arity.
> 
> The arity would be provided to rb_define_method:
> 
> rb_define_method(rb_cString, "[]", rb_str_aref_m, -1, -2);

Yeah, seems like it would be a good thing to do. Only took me about 
three days to add almost all annotations to JRuby; it would take far 
less time to just add the right arities to the existing bindings in C Ruby.

- Charlie