Class: BuildLights::BottleRocket
- Inherits:
-
Object
- Object
- BuildLights::BottleRocket
- Defined in:
- lib/buildlights/lights.rb
Class Method Summary collapse
Class Method Details
.turn_off(unit, house = 'A') ⇒ Object
26 27 28 |
# File 'lib/buildlights/lights.rb', line 26 def self.turn_off(unit, house='A') send('off', unit, house) end |
.turn_on(unit, house = 'A') ⇒ Object
22 23 24 |
# File 'lib/buildlights/lights.rb', line 22 def self.turn_on(unit, house='A') send('on', unit, house) end |