Sha256: 6d4c235513a745ce58ea75ea064bb97280af2c0ac418d868e3f01976c1a98bc9
Contents?: true
Size: 296 Bytes
Versions: 3
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true require 'ped/version' require 'ped/domains' module Ped class Error < StandardError; end class << self def public_email_domain?(domain) domain = domain.to_s.strip return false if domain.empty? DOMAINS.include?(domain) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ped-0.2.1 | lib/ped.rb |
ped-0.2.0 | lib/ped.rb |
ped-0.1.0 | lib/ped.rb |