On Feb 20, 2006, at 8:38 AM, Michael Ulm wrote:

> This demonstrates a problem I have with many solutions -- taking
> Florians as an example.
>
> class Test
>   attribute 'a'
> end
>
> tst.a?         # => false   OK
> tst.a = false  # => false   OK
> tst.a?         # => false   This should be true

I believe you are making the mistake that you expect attr_meth?() to  
tell you if an attribute is set.  That's not the intention.  attr_meth 
() returns true if the attribute holds a true value.

I know this because I made the exact same mistake and Ara corrected  
me.  ;)

James Edward Gray II