method
getline
getline()
private
Hide source
# File lib/net/ftp.rb, line 210 def getline line = @sock.readline # if get EOF, raise EOFError line.sub!(/(\r\n|\n|\r)\z/n, "") if @debug_mode print "get: ", sanitize(line), "\n" end return line end