struct

Sysinfo::Sensor

Inherits Struct < Value < Object

One temperature sensor; anything the driver does not publish is nil, and no read here can raise into the caller.

Constructors

new(chip : String, label : String, temp_c : Int32 | Nil = nil, max_c : Int32 | Nil = nil, critical_c : Int32 | Nil = nil)
Source

Instance methods

chip
Source
critical_c
Source
label
Source
max_c
Source
temp_c
Source