Class: IsoDoc::IHO::Metadata
- Inherits:
-
Generic::Metadata
- Object
- Generic::Metadata
- IsoDoc::IHO::Metadata
- Defined in:
- lib/isodoc/iho/metadata.rb
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
7 8 9 |
# File 'lib/isodoc/iho/metadata.rb', line 7 def configuration Metanorma::IHO.configuration end |
#series(xml, _out) ⇒ Object
11 12 13 14 15 |
# 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 |