Skip to content

Instantly share code, notes, and snippets.

@huezoaa
Created Jun 26, 2015
Embed
What would you like to do?
faker_example
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