method
extract_subdomain
v4.1.8 -
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 28
def extract_subdomain(host, tld_length = @@tld_length)
extract_subdomains(host, tld_length).join('.')
end