Mathieu Bouchard <matju / sympatico.ca> writes: > Smalltalk: x chop; strip. > Ruby (no equivalent) > > In the last version, x is only mentioned once, and the return value of > chop is discarded. I think it could be nice to have something like that in > Ruby. Perhaps: x.instance_eval{chop!; strip!} Alias to taste. Locals can get in the way for most method names, though.