On Thu, Sep 01, 2005 at 11:35:00PM +0900, James Edward Gray II wrote: > >What are suggestions for #[]= > > Good example. That's a tough one. My best thought: > > indexed_equals $ grep "rb_define_.*\[\]" ~/src/ruby/ruby.head/array.c rb_define_singleton_method(rb_cArray, "[]", rb_ary_s_create, -1); rb_define_method(rb_cArray, "[]", rb_ary_aref, -1); rb_define_method(rb_cArray, "[]=", rb_ary_aset, -1); -- Mauricio Fernandez