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 |