list() public

No documentation

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

Hide source
# File lib/net/pop.rb, line 779
    def list
      critical {
        getok 'LIST'
        list = []
        @socket.each_list_item do |line|
          m = /\A(\d+)[ \t]+(\d+)/.match(line) or
                  raise POPBadResponse, "bad response: #{line}"
          list.push  [m[1].to_i, m[2].to_i]
        end
        return list
      }
    end
Register or log in to add new notes.