From: Edgardo Hames Date: 2004-10-18T21:37:31+09:00 Subject: Re: [Chocolate Ketchup Dressing] A working Ruby source code filter On Sat, 16 Oct 2004 09:34:28 +0900, Florian Gross wrote: > Moin! > > I've implemented a Ruby source code filter for the frequently requested > ".=" operator. (Replace by result of method call) > > Here's a boring example of how it is used: > > #!/usr/bin/ruby -rfilter > obj = "foobar" > obj .= reverse > p obj # => "raboof" Hi, Florian. How does .= differ from bang methods? I mean obj.reverse seems to be the same as obj.reverse! Thanks and kind regards, Ed -- We all know life is often unfair. The trick is to make it unfair in your favor.