method

getmultiline

v1_8_6_287 - Show latest stable - Class: Net::FTP
getmultiline()
private

No documentation available.

# File lib/net/ftp.rb, line 220
    def getmultiline
      line = getline
      buff = line
      if line[3] == ?-
          code = line[0, 3]
        begin
          line = getline
          buff << "\n" << line
        end until line[0, 3] == code and line[3] != ?-
      end
      return buff << "\n"
    end