From: Matt Armstrong Date: 2003-03-04T01:07:03+09:00 Subject: Re: Bug in date.rb? Child 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