Exception: SimpleTelnetServer::Connection::UnknownCommand
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- SimpleTelnetServer::Connection::UnknownCommand
- Defined in:
- lib/em-simple_telnet_server.rb
Overview
Raised when a command has been received that doesn’t match any registered command.
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command) ⇒ UnknownCommand
constructor
A new instance of UnknownCommand.
Constructor Details
#initialize(command) ⇒ UnknownCommand
Returns a new instance of UnknownCommand.
216 |
# File 'lib/em-simple_telnet_server.rb', line 216 def initialize(command) @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
217 218 219 |
# File 'lib/em-simple_telnet_server.rb', line 217 def command @command end |