Class: GetCurrentProgramNameReply
- Inherits:
-
DirectCommandReply
- Object
- Telegram
- Reply
- DirectCommandReply
- GetCurrentProgramNameReply
- Includes:
- MessageTranslator
- Defined in:
- lib/telegrams/commands/direct/replies/get_current_program_name_reply.rb
Constant Summary
Constants included from MessageTranslator
MessageTranslator::FILENAME_MAX_LENGTH
Constants inherited from Reply
Reply::COMMAND_TYPE, Reply::STATUS_MESSAGES, Reply::SUCCESS
Instance Attribute Summary
Attributes inherited from Reply
#command, #message_bytes, #status, #status_description, #type
Attributes inherited from Telegram
Instance Method Summary collapse
-
#initialize(bytes) ⇒ GetCurrentProgramNameReply
constructor
A new instance of GetCurrentProgramNameReply.
- #message ⇒ Object
- #program_name ⇒ Object
Methods included from MessageTranslator
#add_default_extension_if_missing, #boolean_as_bytes, #boolean_from_bytes, #integer_as_bytes, #integer_as_ulong_bytes, #integer_as_uword_bytes, #integer_from_bytes, #string_as_bytes, #string_from_bytes
Methods inherited from Reply
Methods inherited from Telegram
Constructor Details
#initialize(bytes) ⇒ GetCurrentProgramNameReply
Returns a new instance of GetCurrentProgramNameReply.
7 8 9 10 |
# File 'lib/telegrams/commands/direct/replies/get_current_program_name_reply.rb', line 7 def initialize(bytes) super(bytes) @message = end |
Instance Method Details
#message ⇒ Object
12 13 14 |
# File 'lib/telegrams/commands/direct/replies/get_current_program_name_reply.rb', line 12 def @message end |
#program_name ⇒ Object
16 17 18 |
# File 'lib/telegrams/commands/direct/replies/get_current_program_name_reply.rb', line 16 def program_name end |