class OpenscapParser::RuleIdentifier
Public Instance Methods
label()
click to toggle source
# File lib/openscap_parser/rule_identifier.rb, line 5 def label @label ||= @parsed_xml && @parsed_xml.text end
system()
click to toggle source
# File lib/openscap_parser/rule_identifier.rb, line 9 def system @system ||= @parsed_xml && @parsed_xml['system'] end
to_h()
click to toggle source
# File lib/openscap_parser/rule_identifier.rb, line 13 def to_h { :label => label, :system => system } end