From: Florian Gross Date: 2005-03-23T02:05:07+09:00 Subject: Re: RCR 296: Destructive methods return self Daniel Amelang wrote: > # Why not make the minor change such that this: > *str = "hello ".strip > > # gives you the array and this: > > str = "hello ".strip > > only gives you the _first_ of the multiple return values. That way we can return > multiple return values without requiring the receivers to use _ all the time > to throw away the rest. Of course that would be nice, but with Ruby's current multi-return-value semantics it is not possible. If the above where to be true then this would also be true: a = [1, 2, 3] a # => 1 And you'll have to agree that that won't work. Perhaps it's finally time to introduce a Tuple class?