Module: Ronin::Support::Network::PublicSuffix

Defined in:
lib/ronin/support/network/public_suffix.rb,
lib/ronin/support/network/public_suffix/list.rb,
lib/ronin/support/network/public_suffix/suffix.rb,
lib/ronin/support/network/public_suffix/suffix_set.rb

Overview

Manages the [public suffixes list].

Defined Under Namespace

Classes: List, Suffix, SuffixSet

Class Method Summary collapse

Class Method Details

.listList

Downloads/updates then loads the cached file (~/.cache/ronin/ronin-support/public_suffix_list.dat).

Returns:

  • (List)

    The loaded list file.



37
38
39
40
41
42
# File 'lib/ronin/support/network/public_suffix.rb', line 37

def self.list
  @list ||= begin
              List.update
              List.load_file
            end
end