mail

https://github.com/mikel/mail

Ruby

A Really Ruby Mail Library

Mail::Header#each

Enumerable support; yield each field in order to the block if there is one,
or return an Enumerator for them if there isn't.

Source | Google | Stack overflow

Edit

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

cd mail

open lib/mail/header.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Mail--Header-each-for-pr


# Commit to git

git add lib/mail/header.rbgit commit -m "better docs for Mail::Header#each"


# 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--Header-each-for-pr

hub pull-request


# Celebrate!