From: nobu.nokada@... Date: 2003-12-02T14:21:06+09:00 Subject: Re: Underpinnings of Method Wrapping Hi, At Mon, 1 Dec 2003 23:10:44 +0900, T. Onoma wrote: > BTW does this mean if I redefine Array the literal form will use my new class? > > class Array < MyArray > end > > [1,2,3].kind_of?(MyArray) # => true No. The interpreter current implementation uses rb_cArray directly, and redefinition of built-in classes causes crash at GC. -- Nobu Nakada