method

extract_domain_from

extract_domain_from(host, tld_length)
private

No documentation available.

# File actionpack/lib/action_dispatch/http/url.rb, line 76
        def extract_domain_from(host, tld_length)
          host.split('.').last(1 + tld_length).join('.')
        end