Decomposes the domain according to rule properties.
@param [String, to_s] domain
The domain name to decompose.
@return [Array<String>]
The array with [trd + sld, tld].
# File lib/public_suffix/rule.rb, line 284 def decompose(domain) domain.to_s.chomp(".") =~ /^(.*)\.(#{parts.join('\.')})$/ [$1, $2] end
Generated with the Darkfish Rdoc Generator 2.