From: Trans Date: 2005-03-23T16:29:49+09:00 Subject: Re: RCR 296: Destructive methods return self > Another idea I've had is that, because prefix "." is not allowed in Ruby > 1.8, it could later serve so that in "a.foo;.bar" the dot-prefix operator > would make the method-call on the "syntactically previous" receiver, that > is, a. How "previous" is defined may depend on precedence rules... It has also been prposed that ".x" simply imply "self.x". An easier notion would simply be: a.(strip!; upcase!) This was discussed breifly on ruby-muse (suby-ruby mialing list). But the conclusion was basically why bother when a = a.strip.upcase works when speed is not an issue. And a.strip!; a.upcase! works just as well when speed does matter. T.