From: Justin Collins Date: 2007-12-12T03:46:16+09:00 Subject: Re: opposite .nil? Andrew Stone wrote: > I've looked around, but could not find a method that is the opposite of > .nil?. I know there is !my_var.nil?, but I think my_var.exists? is more > readable. > > I wanted to throw this out there before I added the method in myself. > > thanks, > andy > > if not my_var.nil? is the same as if my_var _unless_ my_var is false. -Justin