# File lib/modai_prct12/racional.rb, line 109 def <=>(o) return nil unless o.instance_of? Racional (num.to_f / denom) <=> (o.num.to_f / o.denom) end