one-click-orgs

https://github.com/oneclickorgs/one-click-orgs

Ruby

Create legal organisations with just one click

OneClickOrgs::MailHelper#name_addr

Construct a well-formed 'name-address' from a display name and an address.

name_addr('Bob Smith', '[email protected]') # => "Bob Smith <[email protected]>"

Source | Google | Stack overflow

Edit

git clone [email protected]:oneclickorgs/one-click-orgs.git

cd one-click-orgs

open lib/one_click_orgs/mail_helper.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-OneClickOrgs--MailHelper-name_addr-for-pr


# Commit to git

git add lib/one_click_orgs/mail_helper.rbgit commit -m "better docs for OneClickOrgs::MailHelper#name_addr"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-OneClickOrgs--MailHelper-name_addr-for-pr

hub pull-request


# Celebrate!