method

each_crlf_line

ruby latest stable - Class: Net::InternetMessageIO
each_crlf_line(src)
private

No documentation available.

# File lib/net/protocol.rb, line 349
    def each_crlf_line(src)
      buffer_filling(@wbuf, src) do
        while line = @wbuf.slice!(/\A[^\r\n]*(?:\n|\r(?:\n|(?!\z)))/)
          yield line.chomp("\n") + "\r\n"
        end
      end
    end