class OpenscapParser::RuleIdentifier

Public Instance Methods

label() click to toggle source
# File lib/openscap_parser/rule_identifier.rb, line 6
def label
  @label ||= @parsed_xml && @parsed_xml.text
end
system() click to toggle source
# File lib/openscap_parser/rule_identifier.rb, line 10
def system
  @system ||= @parsed_xml && @parsed_xml['system']
end
to_h() click to toggle source
# File lib/openscap_parser/rule_identifier.rb, line 14
def to_h
  {
    :label => label,
    :system => system
  }
end