method

extract_domain_from

Importance_0
extract_domain_from(host, tld_length) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.