Class Eymiha::UnitsSystem
In: lib/eymiha/units/units_system.rb
Parent: MethodicHash

A UnitsSystem groups units that measure the same quality and are conceptually organized together within a UnitsMeasure. Its a MethodicHash of unit names to UnitsUnit instances.

Methods

format   unit  

Attributes

name  [R]  The name of this UnitsSystem
units_measure  [R]  The UnitsMeasure to which this instance is associated.

Public Instance methods

Associates the name of a format with an output formatter in the instance‘s UnitsMeasure.

Defines a new UnitsUnit. If ten-based or two-based greeking is defined, it is applied.

[Validate]