From: Chris Morris Date: 2004-01-30T04:26:47+09:00 Subject: Re: Why is def foo? legal but @foo? illegal? Gavin Kistner wrote: > ....but you can't name an instance variable with one: > > attr_reader(:foo?) > def initialize > @foo?=true > end Don't know if it is possible, but I know the above won't work because you used attr_reader which will create a getter, but no setter for foo?. Try changing it to attr_accessor and see if that works. -- Chris http://clabs.org