From: Andrew Stone Date: 2007-12-12T03:56:14+09:00 Subject: Re: opposite .nil? ------=_Part_30920_8722584.1197399378866 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline if not my_var.nil? > > Thanks Justin. I should have been more clear with the usage. def should_this_be_done? am_I_sure? && my_object.var && !my_object.var.nil? end I just think it would read better if the last test was my_object.var.exists? thanks, andy -- Andrew Stone ------=_Part_30920_8722584.1197399378866--