------ art_5355_90054.1137305533576
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
> irb(main):002:0> require "mathn"
Though getting a Rational back is not incorrect, clearly getting a Fixnum
back would be one's initial expectation.
Interesting that 'mathn' caused a change in return type. I suppose that
means the return type is not part of the date subtraction contract. I
quickly eyeballed mathn.rb to try to see the specific reason for the change
in return type. My guess if that Date - Date uses the ** operator because
** is redefined in mathn.
Brian Buckley
------ art_5355_90054.1137305533576--