Class: Asciidoctor::Standoc::InheritInlineMacro
- Inherits:
-
Extensions::InlineMacroProcessor
- Object
- Extensions::InlineMacroProcessor
- Asciidoctor::Standoc::InheritInlineMacro
- Defined in:
- lib/asciidoctor/standoc/macros.rb
Instance Method Summary collapse
Instance Method Details
#process(parent, _target, attrs) ⇒ Object
54 55 56 57 |
# File 'lib/asciidoctor/standoc/macros.rb', line 54 def process(parent, _target, attrs) out = Asciidoctor::Inline.new(parent, :quoted, attrs["text"]).convert %{<inherit>#{out}</inherit>} end |