Forum: Ruby Re: Question mark in attr_*

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F3b7b8756d0c7f71cc7460cc33aefaee?d=identicon&s=25 Berger, Daniel (Guest)
on 2006-04-13 20:04
(Received via mailing list)
> > 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/..., where
attr_ methods did what you meant with regards to '?' and '!'.

Regards,

Dan
This topic is locked and can not be replied to.