lib/unit_measurements/measurement.rb in unit_measurements-1.5.1 vs lib/unit_measurements/measurement.rb in unit_measurements-1.6.0

- old
+ new

@@ -2,12 +2,13 @@ # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- module UnitMeasurements class Measurement - include Formatter - include Comparison include Arithmetic + include Comparison + include Formatter + include Math CONVERSION_STRING_REGEXP = /(.+?)\s?(?:\s+(?:in|to|as)\s+(.+)|\z)/i.freeze attr_reader :quantity, :unit