Subject: Re: Bug in date.rb?
From: Matt Armstrong <matt lickey.com>
Date: Tue, 4 Mar 2003 01:07:03 +0900
References: 84019
In-reply-to: 84019
Child <child / t9.ds.pwr.wroc.pl> writes:
> So I can't compare a date with nil, because I get an error. Instead I
> have to write something like date.instance_of? NilClass, which is
> something unnecessary complicated.
Try:
date.nil?
--
matt