From: George Ogata Date: 2004-04-07T03:54:19+09:00 Subject: Re: object.@attribute Jason Voegele writes: > 2) You might want to use a standard attr_writer generated writer method, but > provide a custom reader method. I do this all of the time with boolean > attributes, so I can add the '?' to the end of the reader method. I've hit this before too. Maybe attr_accessor(:foo?) should define 'foo?' and 'foo=' (instead of the current 'foo?' and 'foo?=')? Or maybe this syntax should be allowed: obj.foo? = true Hmm?