ÿØÿà JFIF H H ÿÛ C GIF89;
| System: Linux host57.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Current Path : /opt/alt/ruby18/share/ri/1.8/system/Net/POP3/ |
| Current File : //opt/alt/ruby18/share/ri/1.8/system/Net/POP3/delete_all-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params: message
comment:
- !ruby/struct:SM::Flow::P
body: Deletes all messages on the server.
- !ruby/struct:SM::Flow::P
body: If called with a block, yields each message in turn before deleting it.
- !ruby/struct:SM::Flow::H
level: 3
text: Example
- !ruby/struct:SM::Flow::VERB
body: " n = 1\n pop.delete_all do |m|\n File.open("inbox/#{n}") do |f|\n f.write m.pop\n end\n n += 1\n end\n"
- !ruby/struct:SM::Flow::P
body: This method raises a POPError if an error occurs.
full_name: Net::POP3#delete_all
is_singleton: false
name: delete_all
params: ( {|message| ...}
visibility: public