From: Albert Schlef Date: 2010-04-12T14:28:36+09:00 Subject: Re: attr_accessor, but for a boolean Aaron Patterson wrote: > alias :safe? :safe Daniel wrote: > def safe? > !!@safe > end Thank you both. I wanted to make sure there's no built-in way to do this. (BTW, in Lisp (CLOS) it's possible to specify the getter/setter names.) -- Posted via http://www.ruby-forum.com/.