Class: Metanorma::Generic::BibdataConfig

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/metanorma/generic/bibdata_config.rb

Defined Under Namespace

Classes: Bibdata

Instance Method Summary collapse

Instance Method Details

#bibdata_from_xml(model, node) ⇒ Object



16
17
18
19
# File 'lib/metanorma/generic/bibdata_config.rb', line 16

def bibdata_from_xml(model, node)
  node or return
  model.bibdata = Relaton::Cli.parse_xml(node.adapter_node)
end

#bibdata_to_xml(model, parent, doc) ⇒ Object



21
# File 'lib/metanorma/generic/bibdata_config.rb', line 21

def bibdata_to_xml(model, parent, doc); end