Method: ComputeUnit::Device#base_hwmon_path

Defined in:
lib/compute_unit/device.rb

#base_hwmon_pathString

Note:

this is used mainly for easier mocking

Returns - base hwmon path of the device.

Returns:

  • (String)
    • base hwmon path of the device



159
160
161
# File 'lib/compute_unit/device.rb', line 159

def base_hwmon_path
  File.join(device_path, 'hwmon')
end