Method: Net::POP3#reset
- Defined in:
- lib/net/pop.rb
#reset ⇒ Object
Resets the session. This clears all “deleted” marks from messages.
This method raises a POPError if an error occurs.
700 701 702 703 704 705 706 707 |
# File 'lib/net/pop.rb', line 700 def reset command().rset mails().each do |m| m.instance_eval { @deleted = false } end end |