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