On 12/3/06, paul <pjvleeuwen / gmail.com> 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