Re: Question mark in attr_*

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