# File lib/runt/pdate.rb, line 78 def <=> (other) result = nil if(other.respond_to?("date_precision") && other.date_precision>@date_precision) result = super(DPrecision::to_p(other,@date_precision)) else result = super(other) end #puts "#{self.to_s}<=>#{other.to_s} => #{result}" if $DEBUG result end