method

extract_domain_from

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActionDispatch::Http::URL
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 96
          def extract_domain_from(host, tld_length)
            host.split(".").last(1 + tld_length).join(".")
          end
Register or log in to add new notes.