# File lib/domain_name.rb, line 227 def normalize(domain) DomainName::Punycode.encode_hostname(domain.chomp(DOT).to_nfc).downcase end