module Net::FTP::List

Public Class Methods

parse(*args, **opts) click to toggle source

Parse a line from FTP LIST responsesa and return a Net::FTP::List::Entry

# File lib/net/ftp/list.rb, line 24
def self.parse(*args, **opts)
  Parser.parsers.each do |parser|
    entry = parser.parse(*args, **opts)
    return entry if entry
  end
end
raise_on_failed_server_detection() click to toggle source
# File lib/net/ftp/list.rb, line 19
def self.raise_on_failed_server_detection
  Thread.current[:net_ftp_list_raise_on_failed_server_detection]
end
raise_on_failed_server_detection=(new_flag) click to toggle source
# File lib/net/ftp/list.rb, line 15
def self.raise_on_failed_server_detection=(new_flag)
  Thread.current[:net_ftp_list_raise_on_failed_server_detection] = !!new_flag
end