From: Pit Capitain Date: 2005-07-08T16:18:11+09:00 Subject: Re: Inheriting Array and slice() behaviour William Morgan schrieb: > So you're suggesting that #initialize be called (automatically) by > Array#slice, with no arguments? I was thinking that that was the actual behaviour, but now I realized it isn't. After looking at the source code and thinking about Matz' reply, I'm not so sure anymore. > And, presumably, an ArgumentError raised if it has required > arguments? See Austin's answer to that. > What about #+, #reverse, #select, etc.? Quite some time ago, there have been some discussions on ruby-talk about this very subject. Maybe you can get more information about the pros and cons from there. Regards, Pit