From: Alex DeCaria Date: 2010-04-13T09:01:42+09:00 Subject: Re: Non empty string complained to be 'nil' in equality check Kannan Jay wrote: > goddammit, i was fooled because the if statement was teh last statement > in the code. The error didnt happen there at all. This code is a Ruby > testframework code so it supposed to return a true/false and I was not > returning, and that has caused the cruelly meaningless error message. > sorry for wasting everyone's time. > > ------------------------------------------------------------------------------It happens. I'm glad you figured it out. --Alex -- Posted via http://www.ruby-forum.com/.