Subject: Is 2.0 Integer or Float?
From: "S. Robert James" <srobertjames gmail.com>
Date: Wed, 15 Nov 2006 01:35:10 +0900
I'd like to be able to do:
x = 2.0
assert x.integral?
the :integer method returns false in this case.
What would be a good way to write a different method to check?