Created
January 26, 2010 03:17
-
-
Save alexmoore/286507 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'faker' | |
#Let's see if we can make a fake person... | |
person_name = Faker::Name.name | |
person_email = Faker::Internet.email | |
person_company = Faker::Company.name | |
person_company_slogan = Faker::Company.bs | |
person_phone = Faker::PhoneNumber.phone_number | |
person_address = Faker::Address.street_address | |
person_city = Faker::Address.city | |
person_state = Faker::Address.us_state | |
person_zip = Faker::Address.zip_code | |
# Wow! Now let's print him off some business cards | |
puts "#{person_name} | |
#{person_company} | |
'#{person_company_slogan.capitalize}' | |
#{person_address} | |
#{person_city}, #{person_state} #{person_zip} | |
Call me at : #{person_phone} | |
Email me at: #{person_email} | |
It's a pleasure doing business." | |
# Awesome, now we can go into business and get back our money from that Nigerian prince fellow... | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment