lib/unit_measurements/measurement.rb in unit_measurements-3.2.0 vs lib/unit_measurements/measurement.rb in unit_measurements-3.3.0
- old
+ new
@@ -71,10 +71,10 @@
raise BaseError, "`Measurement` does not have a `unit_group` object. You cannot directly use `Measurement`. Instead, build a new unit group by calling `UnitMeasurements.build`."
end
def_delegators :unit_group, :units, :unit_names, :unit_with_name_and_aliases,
:unit_names_with_aliases, :unit_for, :unit_for!, :defined?,
- :unit_or_alias?, :[]
+ :unit_or_alias?, :[], :systems, :system_for
def parse(input)
input = Normalizer.normalize(input)
source, target = input.match(CONVERSION_STRING_REGEXP)&.captures