method
named_host?
v4.1.8 -
Show latest stable
- Class:
ActionDispatch::Http::URL
named_host?(host)private
No documentation available.
# File actionpack/lib/action_dispatch/http/url.rb, line 91
def named_host?(host)
host && IP_HOST_REGEXP !~ host
end