module OpenscapParser::TestResults
Public Class Methods
included(base)
click to toggle source
# File lib/openscap_parser/test_results.rb, line 6 def self.included(base) base.class_eval do def test_result TestResult.new(parsed_xml: test_result_node) end def test_result_node @test_result_node ||= xpath_node('.//TestResult') end end end
Public Instance Methods
test_result()
click to toggle source
# File lib/openscap_parser/test_results.rb, line 8 def test_result TestResult.new(parsed_xml: test_result_node) end
test_result_node()
click to toggle source
# File lib/openscap_parser/test_results.rb, line 12 def test_result_node @test_result_node ||= xpath_node('.//TestResult') end