Flowdock
method

each_crlf_line

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Net::InternetMessageIO
each_crlf_line(src) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.