Hi,

In message "Bug in date.rb?"
    on 03/10/11, Child <child / t9.ds.pwr.wroc.pl> writes:

|I have found following statement in date.rb:
|  def <=> (other)
|	  case other
|	  when Numeric; return @ajd <=> other
|	  when Date;    return @ajd <=> other.ajd
|  end
|	  raise TypeError, 'expected numeric or date'
|  end

Try newer version.

  def <=> (other)
    case other
    when Numeric; return @ajd <=> other
    when Date;    return @ajd <=> other.ajd
    end
    nil
  end

							matz.