def convert_to(other_unit)
      other_unit = Unit.new(other_unit)
      if compatible_with?(other_unit)
        new(converted_value(other_unit), other_unit)
      else
        fail ConversionError, "Can't convert #{self} to #{other_unit}."
      end
    end
def convert_to(other_unit)
      other_unit = Unit.new(other_unit)
      if compatible_with?(other_unit)
        new(converted_value(other_unit), other_unit)
      else
        fail ConversionError, "Can't convert #{self} to #{other_unit}."
      end
    end
Create a new Measurement
 @param value [Numeric] The scalar value for the measurement
 @param unit  [String, Measurement::Unit] Either a string expression, or a
 Measurement::Unit
 @example
   Unitwise::Measurement.new(20, 'm/s')
 @api public
 Convert this measurement to a compatible unit.
 @param other_unit [String, Measurement::Unit] Either a string expression
 or a Measurement::Unit
 @example
   measurement1.convert_to('foot')
   measurement2.convert_to('kilogram')
 @api public