Created
June 26, 2015 04:06
-
-
Save huezoaa/f17c1448cc6bf0f7ca23 to your computer and use it in GitHub Desktop.
faker_example
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' | |
# puts "Please Enter your name: " | |
# person_name = gets.chomp | |
# puts "Please Enter your email address: " | |
# person_email = gets.chomp | |
# puts "Your original name was: #{person_name}" | |
# puts "Your original email was: #{person_email} \n\n" | |
# puts "Run faker? (Y/N)" | |
# fakeit = gets.chomp | |
# again = 1 | |
puts " NAME | EMAIL | ZIPCODE " | |
30.times do | |
puts " #{Faker::Name.name} #{Faker::Internet.email} #{Faker::Address.zip_code}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment