Class: BuildLights::BottleRocket

Inherits:
Object
  • Object
show all
Defined in:
lib/lights.rb

Class Method Summary collapse

Class Method Details

.turn_off(unit, house = 'A') ⇒ Object



26
27
28
# File 'lib/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/lights.rb', line 22

def self.turn_on(unit, house='A')
  send('on', unit, house)
end