class Asciidoctor::Standoc::SymbolRefInlineMacro

Public Instance Methods

process(_parent, _target, attrs) click to toggle source
# File lib/asciidoctor/standoc/macros_terms.rb, line 60
def process(_parent, _target, attrs)
  termref = attrs["termxref"] || attrs["name"]
  "<concept type='symbol'><termxref>#{attrs['name']}</termxref>"\
    "<renderterm>#{termref}</renderterm><xrefrender/></concept>"
end