From: Martin DeMello Date: 2006-12-03T20:30:45+09:00 Subject: Re: Simple and stuppid bug (can anyone find it?) On 12/3/06, paul wrote: > Hi all, > I thought it to be good programming style to make attribute assignment > chainable. When using the attr_writer an assignment returns te value > assigned which is not what I want, so I tried to do-it-myself. If you do want to do this, I'd suggest an attr_setter method, that generates both foo= and set_foo methods. Then you can chain via a.set_a(100).set_b(10) which looks much better than the a.a=(100).b=(10) martin