From: nobu.nokada@... Date: 2003-12-01T09:55:19+09:00 Subject: Re: Underpinnings of Method Wrapping Hi, At Sun, 30 Nov 2003 21:40:52 +0900, T. Onoma wrote: > On a side note, it is interesting to consider the fact that we don't have the > keyword super for classes and modules. > > class Array > super > ... > end > > So that without super we could completely redefine Array, while with super, it > would mean we are adding to it, as we currently do. As it stands, I wonder, > is there even a way to wholly and easily redefine any built-in class or > module? A way does not immediately come to mind, albiet this is something > that would be extremely rare anyway. Different super class makes different class. class Array < Class.new end -- Nobu Nakada