class OpenscapParser::SetValue

Public Instance Methods

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