From: Florian Gross Date: 2005-01-26T21:50:54+09:00 Subject: Re: attr Trans wrote: > There is also another form which I thought might be nice to have, a > getter/setter: If an argument is given it acts as a setter, if not it > acts as a getter. But I have no simple notion to use for it. At the > moment it can be done like this: > > | attr :"a()" > > But I'm not too sure about it. That's perl style. It does not make sense in Ruby.