devise

https://github.com/plataformatec/devise

Ruby

Flexible authentication solution for Rails with Warden.

Mail::Header#initialize

Creates a new header object.

Accepts raw text or nothing.  If given raw text will attempt to parse
it and split it into the various fields, instantiating each field as
it goes.

If it finds a field that should be a structured field (such as content
type), but it fails to parse it, it will simply make it an unstructured
field and leave it alone.  This will mean that the data is preserved but
no automatic processing of that field will happen.  If you find one of
these cases, please make a patch and send it in, or at the least, send
me the example so we can fix it.

Source | Google | Stack overflow

Edit

git clone [email protected]:plataformatec/devise.git

cd devise

open

Contribute

# Make a new branch

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


# Commit to git

git add git commit -m "better docs for Mail::Header#initialize"


# 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-initialize-for-pr

hub pull-request


# Celebrate!