Add support for units of measure to Ruby's Numeric class