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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs