class Metanorma::Standoc::InheritInlineMacro

Public Instance Methods

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