Class: Rubyipmi::Freeipmi::Sensor
- Inherits:
-
Hash
- Object
- Hash
- Rubyipmi::Freeipmi::Sensor
- Defined in:
- lib/rubyipmi/freeipmi/commands/sensors.rb
Instance Method Summary collapse
-
#initialize(line) ⇒ Sensor
constructor
A new instance of Sensor.
Constructor Details
#initialize(line) ⇒ Sensor
Returns a new instance of Sensor.
83 84 85 86 |
# File 'lib/rubyipmi/freeipmi/commands/sensors.rb', line 83 def initialize(line) parse(line) self[:name] = normalize(self[:name]) end |