method
getmultiline
getmultiline()
private
Hide source
# 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