method
subdomain
v3.0.9 -
Show latest stable
- Class:
ActionDispatch::Http::URL
subdomain(tld_length = 1)public
No documentation available.
# File actionpack/lib/action_dispatch/http/url.rb, line 94
def subdomain(tld_length = 1)
subdomains(tld_length).join('.')
end