Created
September 23, 2010 18:51
-
-
Save esmooov/594130 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' | |
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