Class: Asciidoctor::Standoc::DeprecatedTermInlineMacro

Inherits:
Extensions::InlineMacroProcessor
  • Object
show all
Defined in:
lib/asciidoctor/standoc/macros_terms.rb

Instance Method Summary collapse

Instance Method Details

#process(parent, _target, attrs) ⇒ Object



23
24
25
26
# File 'lib/asciidoctor/standoc/macros_terms.rb', line 23

def process(parent, _target, attrs)
  out = Asciidoctor::Inline.new(parent, :quoted, attrs["text"]).convert
  %{<deprecates>#{out}</deprecates>}
end