Method: IsoDoc::PresentationXMLConvert#concept_render_opts

Defined in:
lib/isodoc/presentation_function/concepts.rb

#concept_render_opts(node, defaults) ⇒ Object



60
61
62
63
# File 'lib/isodoc/presentation_function/concepts.rb', line 60

def concept_render_opts(node, defaults)
  %i(bold ital ref linkref linkmention)
    .each_with_object({}) { |x, m| m[x] = node[x.to_s] || defaults[x] }
end