Permalink
Browse files

Merge pull request #438 from paav-o/master

Fixed typo in documentation
  • Loading branch information...
2 parents 7d45c07 + bd8311d commit ee83840485eb982f235f864cf9bbe821928c802b @arunagw arunagw committed Oct 9, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −1 lib/mail/network/retriever_methods/imap.rb
  3. +1 −1 lib/mail/network/retriever_methods/pop3.rb
View
@@ -294,7 +294,7 @@ The most recent email:
```ruby
Mail.all #=> Returns an array of all emails
Mail.first #=> Returns the first unread email
-Mail.last #=> Returns the first unread email
+Mail.last #=> Returns the last unread email
```
The first 10 emails sorted by date in ascending order:
@@ -18,7 +18,7 @@ module Mail
#
# Mail.all #=> Returns an array of all emails
# Mail.first #=> Returns the first unread email
- # Mail.last #=> Returns the first unread email
+ # Mail.last #=> Returns the last unread email
#
# You can also pass options into Mail.find to locate an email in your imap mailbox
# with the following options:
@@ -18,7 +18,7 @@ module Mail
#
# Mail.all #=> Returns an array of all emails
# Mail.first #=> Returns the first unread email
- # Mail.last #=> Returns the first unread email
+ # Mail.last #=> Returns the last unread email
#
# You can also pass options into Mail.find to locate an email in your pop mailbox
# with the following options:

0 comments on commit ee83840

Please sign in to comment.