Module: Tellstick::RisingSun

Includes:
ProtocolLoader
Defined in:
lib/tellstick/protocol/rising_sun.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods included from ProtocolLoader

included

Instance Method Details

#outputObject



30
31
32
# File 'lib/tellstick/protocol/rising_sun.rb', line 30

def output
  @output
end

#turn_off(house, unit) ⇒ Object



27
28
29
# File 'lib/tellstick/protocol/rising_sun.rb', line 27

def turn_off(house,unit)
  output.puts "S.e#{codify(house)}#{codify(unit.to_s)}e..ee..ee..e.e.e+"
end

#turn_on(house, unit) ⇒ Object



24
25
26
# File 'lib/tellstick/protocol/rising_sun.rb', line 24

def turn_on(house,unit)
  output.puts "S.e#{codify(house)}#{codify(unit.to_s)}e..ee..ee..ee..e+"
end