Class: Metanorma::Plugin::Lutaml::LutamlGmlDictionaryBlockMacro

Inherits:
Asciidoctor::Extensions::BlockMacroProcessor
  • Object
show all
Includes:
LutamlGmlDictionaryBase
Defined in:
lib/metanorma/plugin/lutaml/lutaml_gml_dictionary_block_macro.rb

Instance Method Summary collapse

Instance Method Details

#process(parent, target, attrs) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/metanorma/plugin/lutaml/lutaml_gml_dictionary_block_macro.rb', line 11

def process(parent, target, attrs)
  tmpl = gml_dictionary_template(
    parent.document,
    attrs["template"],
  )

  render(tmpl, parent, attrs, target)
end