Method: Net::POP3Command#initialize

Defined in:
lib/net/pop.rb

#initialize(sock) ⇒ POP3Command

Returns a new instance of POP3Command.



859
860
861
862
863
864
# File 'lib/net/pop.rb', line 859

def initialize(sock)
  @socket = sock
  @error_occured = false
  res = check_response(critical { recv_response() })
  @apop_stamp = res.slice(/<.+>/)
end