Method: Net::POP3Command#initialize
- Defined in:
- lib/net/pop_ssl.rb
#initialize(sock) ⇒ POP3Command
Returns a new instance of POP3Command.
862 863 864 865 866 867 |
# File 'lib/net/pop_ssl.rb', line 862 def initialize(sock) @socket = sock @error_occured = false res = check_response(critical { recv_response() }) @apop_stamp = res.slice(/<.+>/) end |