Skip to content

Instantly share code, notes, and snippets.

@mkempe mkempe/faker.rb
Created Dec 14, 2012

Embed
What would you like to do?
Faker
#!/usr/bin/env rake
# encoding: utf-8
require 'faker'
namespace :faker do
desc '“Fakes” name'
task :name do
puts Faker::Name.name
end
desc '“Fakes” first name'
task :first_name do
puts Faker::Name.first_name
end
desc '“Fakes” last name'
task :last_name do
puts Faker::Name.last_name
end
desc '“Fakes” last name'
task :last_name do
puts Faker::Name.last_name
end
desc '“Fakes” email'
task :email do
puts Faker::Internet.email
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.