lib/unit_measurements/measurement.rb in unit_measurements-1.2.0 vs lib/unit_measurements/measurement.rb in unit_measurements-1.3.0

- old
+ new

@@ -3,9 +3,11 @@ # -*- warn_indent: true -*- module UnitMeasurements class Measurement include Formatter + include Comparison + CONVERSION_STRING_REGEXP = /(.+?)\s?(?:\s+(?:in|to|as)\s+(.+)|\z)/i.freeze attr_reader :quantity, :unit def initialize(quantity, unit)