From: ES Date: 2005-05-16T04:21:23+09:00 Subject: Re: RCR 307: allow attributes to take arguments for assignment Le 15/5/2005, "Eric Mahurin" a �crit: >I just put in a RCR that allows for a little more syntax sugar. > The proposal is just to make: > > object.attribute(arguments) = expression > >to be equivalent to: > > object.send(:attribute=,arguments,expression) > >This would just be a nice-to-have RCR in my opinion as you can >use standard methods instead. But, it does seem like Rubyish >syntax. Here is the link if you are interested: > >http://www.rcrchive.net/rcr/show/307 Call me stupid, but I am afraid I do not understand what this code would *do*. Could you clarify, maybe post an example (if possible, with Ruby code)? E -- template void quack(duck& d) { d.quack(); }