From: Albert Schlef Date: 2010-04-12T10:00:06+09:00 Subject: attr_accessor, but for a boolean Let's say I have this code: class Mambo attr_accesstor :safe end Now, 'safe', in my case, is a boolean. Problem is, the getter will be named 'safe', whereas I want it to be 'safe?'. In other words, how do I make the getter 'safe?' and the setter 'safe' ? -- Posted via http://www.ruby-forum.com/.