Como encontrar o infinito em Ruby
1.9.3-p0 :001 > 1/0 ZeroDivisionError: divided by 01.9.3-p0 :002 > 1.0/0 => Infinity 1.9.3-p0 :006 > -1.0/0=> -Infinity1.9.3-p0 :004 > Float::INFINITY=> Infinity 1.9.3-p0 :005 > -Float::INFINITY=> -Infinity
Continuar lendo