From: William Morgan Date: 2005-07-07T01:57:34+09:00 Subject: Re: Inheriting Array and slice() behaviour Excerpts from Sylvain Joyeux's mail of 6 Jul 2005 (EDT): > > What return type do you want? Arrays or Expressions? You can force > > return values back to Arrays with #to_a, or manually make > > Expressions with something like > > > > y = Expression.new(x.slice(1..5).to_a) > > I find it VERY weird to build anything else than an Array here. Array > now nothing about Expression, so I don't see how - in general - it > could build a well-formed Expression object I agree with you. I think this is bad behavior. -- William