Class | Eymiha::UnitsHash |
In: |
lib/eymiha/units/units_hash.rb
|
Parent: | Hash |
The unit part of a NumericWithUnits is a UnitsHash - a Hash from UnitsUnit instances to powers.
Return a NumericWithUnits that represents the instance when all derived units have been replaced with the units from which they derive.
Returns a String reprentation of the instance. If there is only one item in the UnitsHash, whole names are rendered; otherwise abbreviations are used.