Class: Asciidoctor::Standoc::DeprecatedTermInlineMacro

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

Instance Method Summary collapse

Instance Method Details

#process(parent, _target, attrs) ⇒ Object


30
31
32
33
# File 'lib/asciidoctor/standoc/macros.rb', line 30

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