Skip to content

Commit

Permalink
Update rdoc to not hard-code retriever as being POP3
Browse files Browse the repository at this point in the history
  • Loading branch information
dball committed Nov 16, 2010
1 parent 75888e2 commit d9d3a6f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lib/mail/mail.rb
Expand Up @@ -141,32 +141,32 @@ def self.deliver(*args, &block)
mail
end

# Find emails in a POP3 server.
# See Mail::POP3 for a complete documentation.
# Find emails from the default retriever
# See Mail::Retriever for a complete documentation.
def self.find(*args, &block)
retriever_method.find(*args, &block)
end

# Finds and then deletes retrieved emails from a POP3 server.
# See Mail::POP3 for a complete documentation.
# Finds and then deletes retrieved emails from the default retriever
# See Mail::Retriever for a complete documentation.
def self.find_and_delete(*args, &block)
retriever_method.find_and_delete(*args, &block)
end

# Receive the first email(s) from a Pop3 server.
# See Mail::POP3 for a complete documentation.
# Receive the first email(s) from the default retriever
# See Mail::Retriever for a complete documentation.
def self.first(*args, &block)
retriever_method.first(*args, &block)
end

# Receive the first email(s) from a Pop3 server.
# See Mail::POP3 for a complete documentation.
# Receive the first email(s) from the default retriever
# See Mail::Retriever for a complete documentation.
def self.last(*args, &block)
retriever_method.last(*args, &block)
end

# Receive all emails from a POP3 server.
# See Mail::POP3 for a complete documentation.
# Receive all emails from the default retriever
# See Mail::Retriever for a complete documentation.
def self.all(*args, &block)
retriever_method.all(*args, &block)
end
Expand All @@ -176,8 +176,8 @@ def self.read(filename)
self.new(File.open(filename, 'rb') { |f| f.read })
end

# Delete all emails from a POP3 server.
# See Mail::POP3 for a complete documentation.
# Delete all emails from the default retriever
# See Mail::Retriever for a complete documentation.
def self.delete_all(*args, &block)
retriever_method.delete_all(*args, &block)
end
Expand Down

0 comments on commit d9d3a6f

Please sign in to comment.