# File lib/eymiha/units/numeric_with_units.rb, line 236 def ^(value) if (value.kind_of? Numeric) && !(value.kind_of? NumericWithUnits) NumericWithUnits.new(numeric,unit,value) else raise UnitsException.new("units mismatch") end end