make a unitless unit with a given scalar
Unit
3 4 5
# File 'lib/rails_units/numeric.rb', line 3 def to_unit(other = nil) other ? Unit.new(self, other) : Unit.new(self) end