class Relais
Public Instance Methods
off()
click to toggle source
# File lib/relais.rb, line 8 def off @state = false end
on()
click to toggle source
# File lib/relais.rb, line 4 def on @state = true end
status()
click to toggle source
# File lib/relais.rb, line 12 def status return @state end