Module: Tellstick::NullProtocol
- Defined in:
- lib/tellstick/protocol/null_protocol.rb
Overview
:nodoc:
Instance Method Summary collapse
- #attention(*args) ⇒ Object (also: #turn_on, #turn_off, #teach)
- #output ⇒ Object
Instance Method Details
#attention(*args) ⇒ Object Also known as: turn_on, turn_off, teach
21 22 23 |
# File 'lib/tellstick/protocol/null_protocol.rb', line 21 def attention(*args) [output,STDOUT].each {|out| out.puts "Protokollet finns inte" } end |
#output ⇒ Object
29 30 31 |
# File 'lib/tellstick/protocol/null_protocol.rb', line 29 def output @output end |