Skip to content

Instantly share code, notes, and snippets.

@esmooov
Created September 23, 2010 18:51
Show Gist options
  • Save esmooov/594130 to your computer and use it in GitHub Desktop.
Save esmooov/594130 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'faker'
open('fakeclass.txt',"w") do |f|
250.times do
f.puts Faker::Company.name + " seeks " + ["youth","hard worker","prodigy","student","fun-loving adult","gifted employee","individual","associate","employee","forward-thinker"].rand + " to "+Faker::Company.bs+"."
f.puts ["Call us at ","Give us a ring at ","Dial us at "].rand + Faker::PhoneNumber.phone_number
f.puts Faker::Address.street_address(true) +", "+ Faker::Address.city + ", "+Faker::Address.us_state
f.puts ["Email us at ","Drop us an email- ","Contact us on the world wide web at "].rand + Faker::Internet.email
f.puts ""
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment