Class: StopProgram
- Inherits:
-
DirectCommand
- Object
- Telegram
- RespondableTelegram
- DirectCommand
- StopProgram
- Defined in:
- lib/telegrams/commands/direct/stop_program.rb
Instance Attribute Summary
Attributes inherited from RespondableTelegram
Attributes inherited from Telegram
Instance Method Summary collapse
-
#initialize(require_response = true) ⇒ StopProgram
constructor
A new instance of StopProgram.
Methods inherited from RespondableTelegram
#as_bytes, #require_response=, #require_response?
Methods inherited from Telegram
Constructor Details
#initialize(require_response = true) ⇒ StopProgram
Returns a new instance of StopProgram.
4 5 6 7 |
# File 'lib/telegrams/commands/direct/stop_program.rb', line 4 def initialize(require_response=true) super @command = 0x01 end |