Module: OpenscapParser::Tailorings
- Included in:
- TailoringFile
- Defined in:
- lib/openscap_parser/tailorings.rb
Overview
Methods related to parsing Xccdf Tailoring types
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/openscap_parser/tailorings.rb', line 8 def self.included(base) base.class_eval do def tailoring @tailoring ||= OpenscapParser::Tailoring.new( parsed_xml: tailoring_node ) end def tailoring_node(xpath = ".//Tailoring") xpath_node(xpath) end end end |