class Asciidoctor::Standoc::InheritInlineMacro

Public Instance Methods

process(parent, _target, attrs) click to toggle source
# File lib/asciidoctor/standoc/macros.rb, line 22
def process(parent, _target, attrs)
  out = Asciidoctor::Inline.new(parent, :quoted, attrs["text"]).convert
  %{<inherit>#{out}</inherit>}
end