# File lib/facets/more/cookie.rb, line 66 def domain_match(host, domain) case domain when /\d+\.\d+\.\d+\.\d+/ return (host == domain) when '.' return true when /^\./ #return tail_match?(domain, host) return tail_match?(host, domain) # CORRECT? else return (host == domain) end end