Forums » ruby » Re: Question mark in attr_*

Re: Question mark in attr_*
Posted by Berger, Daniel (Guest)
on 13.04.2006 20:04
> > Methods which return booleans end with a question mark, by 
> 
> 
> Then you can add a battr_reader to any class...
> pth

FYI, I brought this issue up at
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/5796, where
attr_ methods did what you meant with regards to '?' and '!'.

Regards,

Dan