class OpenscapParser::OvalReport
Public Instance Methods
definition_nodes(xpath = "./oval_results/oval_definitions/definitions/definition")
click to toggle source
# File lib/openscap_parser/oval_report.rb, line 20 def definition_nodes(xpath = "./oval_results/oval_definitions/definitions/definition") xpath_nodes(xpath) end
definition_result_nodes(xpath = "./oval_results/results/system/definitions/definition")
click to toggle source
# File lib/openscap_parser/oval_report.rb, line 12 def definition_result_nodes(xpath = "./oval_results/results/system/definitions/definition") xpath_nodes(xpath) end
definition_results()
click to toggle source
# File lib/openscap_parser/oval_report.rb, line 8 def definition_results @definition_results ||= definition_result_nodes.map { |node| ::Oval::DefinitionResult.new parsed_xml: node } end
definitions()
click to toggle source
# File lib/openscap_parser/oval_report.rb, line 16 def definitions @definitions ||= definition_nodes.map { |node| Oval::Definition.new parsed_xml: node } end