lib/metanorma/collection_manifest.rb in metanorma-1.4.9 vs lib/metanorma/collection_manifest.rb in metanorma-1.4.10

- old
+ new

@@ -22,13 +22,13 @@ class << self # @param mnf [Nokogiri::XML::Element] # @return [Metanorma::CollectionManifest] def from_yaml(mnf) - manifest = RelatonBib::HashConverter.array(mnf["manifest"]).map do |m| + manifest = RelatonBib.array(mnf["manifest"]).map do |m| from_yaml m end - docref = RelatonBib::HashConverter.array mnf["docref"] + docref = RelatonBib.array mnf["docref"] new(mnf["level"], mnf["title"], docref, manifest) end # @param mnf [Nokogiri::XML::Element] # @return [Metanorma::CollectionManifest]