Class PublicSuffixService::Rule::Normal
In: lib/public_suffix_service/rule.rb
Parent: Base

Methods

decompose   new   parts  

Public Class methods

Initializes a new rule with name.

@param [String] name

  The name of this rule.

Public Instance methods

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].

dot-split rule value and returns all rule parts in the order they appear in the value.

@return [Array<String>]

[Validate]