lib/relaton_ieee/xml_parser.rb in relaton-ieee-1.18.0 vs lib/relaton_ieee/xml_parser.rb in relaton-ieee-1.19.0
- old
+ new
@@ -55,8 +55,12 @@
bg = editorialgroup.at("./balloting-group")
return unless bg
BallotingGroup.new type: bg[:type], content: bg.text
end
+
+ def create_doctype(type)
+ DocumentType.new type: type.text, abbreviation: type[:abbreviation]
+ end
end
end
end