lib/ffaker/internet_se.rb in ffaker-1.21.0 vs lib/ffaker/internet_se.rb in ffaker-1.22.0
- old
+ new
@@ -1,11 +1,14 @@
# encoding: utf-8
+require 'ffaker/internet'
+
module Faker
module InternetSE
- extend ModuleUtils
include Internet
+
+ extend ModuleUtils
extend self
def email(name = nil)
"#{user_name(name)}@#{domain_name}"
end
@@ -96,10 +99,8 @@
end
BYTE = k((0..255).to_a.map { |n| n.to_s })
HOSTS = k %w(gmail.com yahoo.com hotmail.com spray.se passagen.se)
DOMAIN_SUFFIXES = k %w(se nu com)
- DISPOSABLE_HOSTS = k %w(mailinator.com suremail.info spamherelots.com
- binkmail.com safetymail.info)
-
+ DISPOSABLE_HOSTS = k %w(mailinator.com suremail.info spamherelots.com binkmail.com safetymail.info)
end
end