vendor/bundle/ruby/2.7.0/gems/github-pages-health-check-1.17.0/lib/github-pages-health-check/domain.rb
# The domain to which this domain's CNAME resolves
# Returns nil if the domain is not a CNAME
The domain to which this domain's CNAME resolves
Returns nil if the domain is not a CNAME
The domain to which this domain ' s CNAME resolves Returns nil if the domain is not a CNAME
def cname
        cnames = dns.take_while { |answer| answer.type == Dnsruby::Types::CNAME }
        return if cnames.empty?
        @cname ||= Domain.new(cnames.last.cname.to_s)
      end
def cname cnames = dns . take_while { | answer | answer . type == Dnsruby :: Types :: CNAME } return if cnames . empty? @cname ||= Domain . new ( cnames . last . cname . to_s ) end
The domain to which this domain's CNAME resolves
Returns nil if the domain is not a CNAME
The domain to which this domain ' s CNAME resolves Returns nil if the domain is not a CNAME