Exception: SimpleTelnetServer::Connection::UnknownCommand

Inherits:
RuntimeError
  • Object
show all
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

Instance Method Summary collapse

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

#commandObject (readonly)

Returns the value of attribute command.



217
218
219
# File 'lib/em-simple_telnet_server.rb', line 217

def command
  @command
end