cardmagic/classifier — Issue #10: require 'mathn' breaks calculations
Author: christianhellsten
Created: 2011-10-20 11:16:02+00:00
State: open

require 'mathn' breaks calculations:

(10 / 23).class
=> Fixnum
require 'classifier'
(10 / 23).class
=> Rational

This means e.g. date calculations will break:

Date.civil(year, month, day)
=> ArgumentError: invalid date

See:
http://blog.brightredglow.com/2008/1/17/evil-can-be-dangerous/