lib/phys/units/mixin.rb in phys-units-1.0.0 vs lib/phys/units/mixin.rb in phys-units-1.0.1

- old
+ new

@@ -1,5 +1,14 @@ require "phys/units" # @visibility private -class Numeric; include Phys::UnitsNumericMixin; end -include Phys::UnitsMixin +class Numeric + include Phys::UnitsNumericMixin +end + +module Phys + class Quantity + include Phys::UnitsNumericMixin + end +end + +extend Phys::UnitsMixin