Releases: shivam091/unit_measurements
Releases · shivam091/unit_measurements
v3.4.0
What's new
- Added ability to group units by
unit system
. - Added ability to set
primitive
unit for each unit system. - Added method
primitive?
to check whether the unit is primitive or not. - Added method
system_for
to find unit system by name.
What's changed
- Grouped units in system and set primitive unit for those systems.
v3.3.0
v3.2.0
v3.1.0
v3.0.0
What's new
- Added method
Measurement.name
to get humanized name of the unit group. - Raised
BaseError
inMeasurement.unit_group
. - Added aliases
in
,as
,in!
,as
forconvert_to
andconvert_to!
methods.
What's changed
- Moved LICENSE to markdown file.
- Replaced
$LOAD_PATH
by shorthand$:
- Replaced
base
method byunit
.