Method: UnitMeasurements::Unit#system

Defined in:
lib/unit_measurements/unit.rb

#systemString (readonly)

The system to which the unit belongs (e.g., “metric”, “imperial”).

Returns:

  • (String)

    Unit system in which the unit belongs.

Author:

Since:

  • 4.0.0



46
47
48
# File 'lib/unit_measurements/unit.rb', line 46

def system
  @system
end