method
extract_subdomain
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Http::URL
extract_subdomain(host, tld_length = @@tld_length)public
No documentation available.
# File actionpack/lib/action_dispatch/http/url.rb, line 19
def extract_subdomain(host, tld_length = @@tld_length)
extract_subdomains(host, tld_length).join('.')
end