From: Andrew Stone Date: 2007-12-12T04:00:22+09:00 Subject: Re: opposite .nil? ------=_Part_30951_26853359.1197399623244 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline > def should_this_be_done? > am_I_sure? && my_object.var && !my_object.var.nil? > end > > Ooops... meant def should_this_be_done? am_I_sure? && my_object && !my_object.var.nil? end Didn't mean to put add .var on the second test. -- Andrew Stone ------=_Part_30951_26853359.1197399623244--