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