Class: Rubyipmi::Freeipmi::Sensor

Inherits:
Hash
  • Object
show all
Defined in:
lib/rubyipmi/freeipmi/commands/sensors.rb

Instance Method Summary collapse

Constructor Details

#initialize(line) ⇒ Sensor



86
87
88
89
# File 'lib/rubyipmi/freeipmi/commands/sensors.rb', line 86

def initialize(line)
  parse(line)
  self[:name] = normalize(self[:name])
end