Class: Rupower::LineAc
- Inherits:
-
PowerDevice
- Object
- PowerDevice
- Rupower::LineAc
- Defined in:
- lib/rupower.rb
Constant Summary collapse
- METHODS =
[:native_path, :power_supply, :updated, :has_history, :has_statistics, :online]
Instance Method Summary collapse
Methods inherited from PowerDevice
Constructor Details
This class inherits a constructor from Rupower::PowerDevice
Instance Method Details
#refresh ⇒ Object
86 87 88 |
# File 'lib/rupower.rb', line 86 def refresh @state = @command.line_ac end |