lib/units/numeric.rb
# Convert other into something that can handle being divided by {Numeric}
Convert other into something that can handle being divided by {Numeric}
Convert other into something that can handle being divided by { Numeric }
def coerce(other)
	    case other
		when Fixnum then [Numeric.new(other), self]
		when Float  then [Numeric.new(other), self]
		else
		    other.class.send(:include, UnitsMixin) unless other.kind_of?(UnitsMixin)
		    [other, self]
	    end
	end
def coerce ( other ) case other when Fixnum then [ Numeric . new ( other ) , self ] when Float then [ Numeric . new ( other ) , self ] else other . class . send ( :include , UnitsMixin ) unless other . kind_of? ( UnitsMixin ) [ other , self ] end end
Convert other into something that can handle being divided by {Numeric}
Convert other into something that can handle being divided by { Numeric }
other
<not_specific>