mail

https://github.com/mikel/mail

Ruby

A Really Ruby Mail Library

Mail::TestMailer.deliveries=

Allows you to over write the default deliveries store from an array to some
other object.  If you just want to clear the store, 
call TestMailer.deliveries.clear.

If you place another object here, please make sure it responds to:

* << (message)
* clear
* length
* size
* and other common Array methods

Source | Google | Stack overflow

Edit

git clone [email protected]:mikel/mail.git

cd mail

open lib/mail/network/delivery_methods/test_mailer.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Mail--TestMailer-deliveries--for-pr


# Commit to git

git add lib/mail/network/delivery_methods/test_mailer.rbgit commit -m "better docs for Mail::TestMailer.deliveries="


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Mail--TestMailer-deliveries--for-pr

hub pull-request


# Celebrate!