Skip to content

v5.10.0

Compare
Choose a tag to compare
@shivam091 shivam091 released this 07 Nov 14:16
· 49 commits to main since this release
f726a09

What's new

  • Added new method #to_fs to format the measurement.
  • Aliased arithmetic method #** to #pow and #^.
  • Aliased arithmetic method #-@ to #inverse and #negate.
  • Added UnitMeasurements::BlankQuantityError error if tried to initialize the Measurement with a blank quantity.
  • Added UnitMeasurements::BlankUnitError error if tried to initialize the Measurement with a blank unit.

What's deprecated

  • #format method in favour of #to_fs.