Method: CVEList::MalformedCVE#initialize

Defined in:
lib/cvelist/malformed_cve.rb

#initialize(path, exception) ⇒ MalformedCVE

Initializes the malformed json.

Parameters:

  • path (String)

    Path to the JSON file.

  • exception (StandardError)

    The exception encountered when parsing the JSON file.



26
27
28
29
# File 'lib/cvelist/malformed_cve.rb', line 26

def initialize(path,exception)
  @path      = path
  @exception = exception
end