Class: LEDENET::Packets::StatusResponse
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- LEDENET::Packets::StatusResponse
- Defined in:
- lib/ledenet/packets/status_response.rb
Instance Method Summary collapse
Instance Method Details
#on? ⇒ Boolean
27 28 29 |
# File 'lib/ledenet/packets/status_response.rb', line 27 def on? (power_status & 0x01) == 0x01 end |