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