PublicSuffix::Rule::Normal
Inherits PublicSuffix::Rule::Base < Struct < Value < Object
Normal represents a standard rule (e.g. com).
Instance methods
decompose(domain : String) : Tuple(String | Nil, String | Nil)
Decomposes the domain name according to rule properties.
@param [String, #to_s] name The domain name to decompose @return [Array<String>] The array with [trd + sld, tld].
parts
dot-split rule value and returns all rule parts in the order they appear in the value.
@return [Array<String>]