method
new
new(sock)
public
Hide source
# File lib/net/pop.rb, line 869 def initialize(sock) @socket = sock @error_occured = false res = check_response(critical { recv_response() }) @apop_stamp = res.slice(/<[!-~]+@[!-~]+>/) end