domain(tld_length = @@tld_length)
Instance Public methods
Returns the domain part of a host, such as ârubyonrails.orgâ in âwww.rubyonrails.orgâ. You can specify a
different tld_length
, such as 2 to catch rubyonrails.co.uk in
âwww.rubyonrails.co.ukâ.
Please login to continue.