Skip to content
philostler edited this page Feb 4, 2013 · 3 revisions

A list Internet helpers you can use. Try it out!

irb
require 'rubygems'
require 'faker'

Faker::Internet

Faker::Internet.email
 => "[email protected]"

Faker::Internet.safe_email
 => "[email protected]"

Faker::Internet.free_email
 => "[email protected]"

Faker::Internet.user_name
 => "sebastian"

Faker::Internet.domain_name
 => "casper.org"

Faker::Internet.domain_word
 => "botsford"

Faker::Internet.domain_suffix
 => "org"

Faker::Internet.ip_v4_address
 => "88.25.219.181"

Faker::Internet.ip_v6_address
 => "7b0:36fe:b70d:2e97:93f0:b217:cf1:3a3"

Faker::Internet.url
 => "http://denesik.com/stefan_armstrong"
Clone this wiki locally