From: William Morgan Date: 2005-07-09T03:57:31+09:00 Subject: Re: Inheriting Array and slice() behaviour Excerpts from Austin Ziegler's mail of 7 Jul 2005 (EDT): > No, from a design level, Expression isn't an Array if it doesn't > accept #initialize with no arguments. I'm sorry, that simply isn't true, under any kind of reasonable philosophy. class InducingArray < Array def initialize(klass) @klass = klass end def [] *a if a.length == 1 @klass.induced_from super else super end end end -- William