From: aurelianito Date: 2005-11-09T21:36:17+09:00 Subject: Re: gsub and gsub! are inconsistent > > what I can see is that there is no consensus on how the bang methods > > should behave. May be, the always self returning bang methods can be > > made available with an external library (there is an trivial > > implementation for a bang method to return always self :D). Is it > > already in the facets library? (right there with the "message eating" > > nil). > > You realize you may break the Ruby standard library by doing that? Ups! You are right. I see three choices: 1 - use the caller method to change the bang methods to behave differently depending on the caller. 2 - Use the rubycon tests to check how the standard library works with the modified methods. 3 - Leave it as is, and complain that I don't like it. Option number one is really nasty. Option number two is too much work. Option number three seems to be the right choice. Thank's, Aureliano.