From: Brian Candler Date: 2003-03-25T01:30:16+09:00 Subject: Re: Writing a new method in C for a subclass On Tue, Mar 25, 2003 at 01:07:40AM +0900, David Landrith wrote: > Unless all inheritance is handled by rb_define_class Yes you should be able to subclass Array directly. Try: rb_cMyArray = rb_define_class("MyArray", rb_cArray); which I understand to be the same as MyArray = Class.new(Array) or class MyArray < Array end Regards, Brian.