Method: UnitMeasurements::Unit#unit_group

Defined in:
lib/unit_measurements/unit.rb

#unit_groupUnitGroup (readonly)

The unit group to which the unit belongs.

Returns:

  • (UnitGroup)

    Unit group in which the unit belongs.

Author:

Since:

  • 1.0.0



54
55
56
# File 'lib/unit_measurements/unit.rb', line 54

def unit_group
  @unit_group
end