class OpenscapParser::Tailoring
Public Instance Methods
benchmark()
click to toggle source
# File lib/openscap_parser/tailoring.rb, line 11 def benchmark @benchmark ||= @parsed_xml.at_xpath('benchmark/@href') && @parsed_xml.at_xpath('benchmark/@href').text end
id()
click to toggle source
# File lib/openscap_parser/tailoring.rb, line 7 def id @id ||= @parsed_xml['id'] end
version()
click to toggle source
# File lib/openscap_parser/tailoring.rb, line 16 def version @version ||= @parsed_xml.at_xpath('version') && @parsed_xml.at_xpath('version').text end
version_time()
click to toggle source
# File lib/openscap_parser/tailoring.rb, line 21 def version_time @version_time ||= @parsed_xml.at_xpath('version/@time') && @parsed_xml.at_xpath('version/@time').text end