Class: SimpleTelnet::Connection::TimeoutError

Inherits:
Timeout::Error
  • Object
show all
Defined in:
lib/em-simple_telnet.rb

Overview

Extens Timeout::Error by the attributes hostname and command so one knows where the exception comes from and why.

Instance Attribute Summary collapse

Instance Attribute Details

#commandObject

command that caused this timeout



139
140
141
# File 'lib/em-simple_telnet.rb', line 139

def command
  @command
end

#hostnameObject

hostname this timeout comes from



136
137
138
# File 'lib/em-simple_telnet.rb', line 136

def hostname
  @hostname
end