Module: Ronin::Wordlists::WordlistMetadata

Included in:
WordlistFile, WordlistRepo
Defined in:
lib/ronin/wordlists/wordlist_metadata.rb

Overview

Common wordlist metadata attributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#urlString? (readonly)

The optional URL for the wordlist.

Returns:

  • (String, nil)


30
31
32
# File 'lib/ronin/wordlists/wordlist_metadata.rb', line 30

def url
  @url
end

Instance Method Details

#initialize(url: nil) ⇒ Object

Initializes the wordlist metadata attributes.

Parameters:

  • url (String, nil) (defaults to: nil)

    The optional URL of the wordlist.



38
39
40
# File 'lib/ronin/wordlists/wordlist_metadata.rb', line 38

def initialize(url: nil)
  @url = url
end