We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea35f53 commit 0e5ec8eCopy full SHA for 0e5ec8e
lib/openscap_parser/rule_reference.rb
@@ -10,5 +10,12 @@ def href
10
def label
11
@label ||= @parsed_xml && @parsed_xml.text
12
end
13
+
14
+ def to_h
15
+ {
16
+ href: href,
17
+ label: label
18
+ }
19
+ end
20
21
lib/openscap_parser/version.rb
@@ -1,3 +1,3 @@
1
module OpenscapParser
2
- VERSION = "1.3.0"
+ VERSION = "1.3.1"
3
0 commit comments