class IsoDoc::IHO::Metadata
Public Instance Methods
configuration()
click to toggle source
# File lib/isodoc/iho/metadata.rb, line 7 def configuration Metanorma::IHO.configuration end
series(xml, _out)
click to toggle source
# File lib/isodoc/iho/metadata.rb, line 11 def series(xml, _out) set(:series, xml.at(ns("//bibdata/series[@type = 'main']/title"))&.text) a = xml.at(ns("//bibdata/series[@type = 'main']/abbreviation"))&.text and set(:seriesabbr, a) end