Method: Net::FTP#open_timeout

Defined in:
lib/net/ftp.rb

#open_timeoutObject

Number of seconds to wait for the connection to open. Any number may be used, including Floats for fractional seconds. If the FTP object cannot open a connection in this many seconds, it raises a Net::OpenTimeout exception. The default value is nil.



126
127
128
# File 'lib/net/ftp.rb', line 126

def open_timeout
  @open_timeout
end