On Tue, 4 Mar 2003 01:07:03 +0900, Matt Armstrong wrote: >> 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? I didn't know this method - thanks! -- Marek Janukowicz