faker

https://github.com/faker-ruby/faker

Ruby

A library for generating fake data such as names, addresses, and phone numbers.

Faker::Business.credit_card_expiry_date

No Docs, write some!

Source | Google | Stack overflow

Edit

git clone [email protected]:faker-ruby/faker.git

cd faker

open lib/faker/default/business.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Faker--Business-credit_card_expiry_date-for-pr


# Commit to git

git add lib/faker/default/business.rbgit commit -m "better docs for Faker::Business.credit_card_expiry_date"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-Faker--Business-credit_card_expiry_date-for-pr

hub pull-request


# Celebrate!