From: matz@... (Yukihiro Matsumoto) Date: 2001-10-23T00:44:07+09:00 Subject: [ruby-talk:22969] Re: modified assignments with methods? Hi, In message "[ruby-talk:22964] Re: modified assignments with methods?" on 01/10/22, Paul Brannan writes: |More appropriate, I think, are the "bang methods". For example, where you |might want to write: I think they are different beasts: | str gsub= 'a', 'b' means: str = str.gsub('a', 'b') | str.gsub!('a', 'b') means: str.gsub!('a', 'b') # of course! which does modify the receiver. I don't think I'm going to add the abbreviated assignment to the language, since | str gsub= 'a', 'b' is too ugly. matz.